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.
This commit is contained in:
commit
b0a68a4414
@ -1630,14 +1630,11 @@ fn filter(contents: &str, marker: &str) -> String {
|
||||
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