Skip to content

Commit b0a68a4

Browse files
authored
Rollup merge of #117872 - Mark-Simulacrum:fwd-port-cranelift, r=onur-ozkan
Cranelift isn't available on non-nightly channels This commit already landed as part of beta branching, this PR just puts it on master.
2 parents 19bffe1 + 8e2da60 commit b0a68a4

File tree

1 file changed

+1
-4
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-4
lines changed

src/bootstrap/src/core/build_steps/dist.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1630,14 +1630,11 @@ impl Step for Extended {
16301630
prepare("rust-analysis");
16311631
prepare("clippy");
16321632
prepare("rust-analyzer");
1633-
for tool in &["rust-docs", "rust-demangler", "miri"] {
1633+
for tool in &["rust-docs", "rust-demangler", "miri", "rustc-codegen-cranelift"] {
16341634
if built_tools.contains(tool) {
16351635
prepare(tool);
16361636
}
16371637
}
1638-
if builder.config.rust_codegen_backends.contains(&INTERNER.intern_str("cranelift")) {
1639-
prepare("rustc-codegen-cranelift");
1640-
}
16411638
// create an 'uninstall' package
16421639
builder.install(&etc.join("pkg/postinstall"), &pkg.join("uninstall"), 0o755);
16431640
pkgbuild("uninstall");

0 commit comments

Comments
 (0)