about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/build_system/build_backend.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-08-06 16:26:56 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-08-06 16:26:56 +0200
commit279f486960edc43246ea413970f587a82365cca7 (patch)
treea15483e6de5d0c1c26b7a5d8839400f673f8b69a /compiler/rustc_codegen_cranelift/build_system/build_backend.rs
parent1f94abcda6884893d4723304102089198caa0839 (diff)
parent05677b6bd6c938ed760835d9b1f6514992654ae3 (diff)
downloadrust-279f486960edc43246ea413970f587a82365cca7.tar.gz
rust-279f486960edc43246ea413970f587a82365cca7.zip
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
Diffstat (limited to 'compiler/rustc_codegen_cranelift/build_system/build_backend.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/build_system/build_backend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/build_system/build_backend.rs b/compiler/rustc_codegen_cranelift/build_system/build_backend.rs
index 1df2bcc4541..150b6d01a6b 100644
--- a/compiler/rustc_codegen_cranelift/build_system/build_backend.rs
+++ b/compiler/rustc_codegen_cranelift/build_system/build_backend.rs
@@ -4,7 +4,7 @@ use std::process::Command;
 
 pub(crate) fn build_backend(channel: &str, host_triple: &str) -> PathBuf {
     let mut cmd = Command::new("cargo");
-    cmd.arg("build").arg("--target").arg(host_triple);
+    cmd.arg("build").arg("--target").arg(host_triple).arg("--features").arg("unstable-features");
 
     match channel {
         "debug" => {}