mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 13:36:49 +00:00
Cranelift isn't available on non-nightly channels
This commit is contained in:
parent
ff7c684ed0
commit
8e2da60f0d
@ -1630,14 +1630,11 @@ impl Step for Extended {
|
||||
prepare("rust-analysis");
|
||||
prepare("clippy");
|
||||
prepare("rust-analyzer");
|
||||
for tool in &["rust-docs", "rust-demangler", "miri"] {
|
||||
for tool in &["rust-docs", "rust-demangler", "miri", "rustc-codegen-cranelift"] {
|
||||
if built_tools.contains(tool) {
|
||||
prepare(tool);
|
||||
}
|
||||
}
|
||||
if builder.config.rust_codegen_backends.contains(&INTERNER.intern_str("cranelift")) {
|
||||
prepare("rustc-codegen-cranelift");
|
||||
}
|
||||
// create an 'uninstall' package
|
||||
builder.install(&etc.join("pkg/postinstall"), &pkg.join("uninstall"), 0o755);
|
||||
pkgbuild("uninstall");
|
||||
|
Loading…
Reference in New Issue
Block a user