Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CI "build wheels" step for rustup no longer installing default toolchain (Cherry-pick of #22037) #22039

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

WorkerPants
Copy link
Member

Fix the "Build wheels" step for a breaking change in Rustup v1.28.0 which no longer installs a default toolchain any more.

Use rustup default to install the applicable toolchain because it is idempotent and will install the toolchain if it is not already installed. rustup toolchain install by design will try to install even if the toolchain is already installed. See rust-lang/rustup#710 for discussion of this distinction.

Closes #22036

…olchain (#22037)

Fix the "Build wheels" step for a breaking change in [Rustup
v1.28.0](https://blog.rust-lang.org/2025/03/02/Rustup-1.28.0.html) which
no longer installs a default toolchain any more.

Use `rustup default` to install the applicable toolchain because it is
idempotent and will install the toolchain if it is not already
installed. `rustup toolchain install` by design will try to install even
if the toolchain is already installed. See
rust-lang/rustup#710 for discussion of this
distinction.

Closes #22036
@WorkerPants WorkerPants added this to the 2.24.x milestone Mar 4, 2025
@WorkerPants WorkerPants added category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required PR doesn't require mention in release notes labels Mar 4, 2025
@WorkerPants WorkerPants requested review from huonw and tdyas March 4, 2025 05:21
@tdyas tdyas enabled auto-merge (squash) March 4, 2025 05:51
@tdyas tdyas merged commit 55469fb into 2.24.x Mar 4, 2025
24 checks passed
@tdyas tdyas deleted the cherry-pick-22037-to-2.24.x branch March 4, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required PR doesn't require mention in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants