Skip to content

Update availability of Cranelift #1579

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

Merged
merged 1 commit into from
May 20, 2025
Merged

Conversation

stefnotch
Copy link
Contributor

Cranelift also ships on Windows these days. This updates the Readme to point that out.

https://rust-lang.github.io/rustup-components-history seems to be an up-to-date source for where Cranelift is available. It seems to be available for both Tier 1 macOS variants, so I changed x86_64 macOS to macOS

Also, I noticed that the install instructions still say rustc-codegen-cranelift-preview, while name name seems to have changed to rustc-codegen-cranelift?

@bjorn3
Copy link
Member

bjorn3 commented May 20, 2025

Also, I noticed that the install instructions still say rustc-codegen-cranelift-preview, while name name seems to have changed to rustc-codegen-cranelift?

The correct name is still rustc-codegen-cranelift-preview, but due to a bug in the generation of toolchain manifests, all -preview components can be installed using the name without -preview too: rust-lang/rust#119164

@bjorn3
Copy link
Member

bjorn3 commented May 20, 2025

FWIW the canonical list of targets for which cg_clif is shipped with rustup is: https://github.com/rust-lang/rust/blob/28174fc1a0525888615c8bce8f4ecec13c85ecc6/src/bootstrap/src/utils/helpers.rs#L225-L238

@bjorn3 bjorn3 merged commit 8e3d0b2 into rust-lang:master May 20, 2025
21 of 22 checks passed
@bjorn3
Copy link
Member

bjorn3 commented May 20, 2025

Thanks!

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.

2 participants