Skip to content

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Feb 12, 2023

Try whether this fixes #68.

@dtolnay dtolnay merged commit 25dc93b into master Feb 12, 2023
@dtolnay dtolnay deleted the sparseregistry branch February 12, 2023 21:10
then
echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV
if [ -z ${CARGO_REGISTRIES_CRATES_IO_PROTOCOL+set} ]; then
if rustc +${{steps.parse.outputs.toolchain}} --version --verbose | not grep -q '^release: 1\.6[67]\.'; then

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may also need to check commit-date since it's only stabilized after 2023-01-20 or later: rust-lang/rust#107120, but the rustc release was already at 1.68.

See https://github.com/pola-rs/polars/actions/runs/4183969359/jobs/7249008618

jonasbb added a commit to actions-rust-lang/setup-rust-toolchain that referenced this pull request Feb 15, 2023
These issues are reported again rust-toolchain from which the code is
inspired.

dtolnay/rust-toolchain#71

dtolnay/rust-toolchain#69 (review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sparse registry check is nondeterministic
2 participants