about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-05-01 15:54:12 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2022-05-01 15:54:12 +0200
commitddde38d1323f103c55710a8b9599feb0f76ea186 (patch)
treec3d133b0eaa88d642ebf8b2462903fa81d529301
parentf52162f75c640618637e265d005f0f5f25811af5 (diff)
downloadrust-ddde38d1323f103c55710a8b9599feb0f76ea186.tar.gz
rust-ddde38d1323f103c55710a8b9599feb0f76ea186.zip
Fix jit mode with cargo-clif wrapper
-rw-r--r--scripts/cargo-clif.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cargo-clif.rs b/scripts/cargo-clif.rs
index 20aee5ff81b..9362b47fa6d 100644
--- a/scripts/cargo-clif.rs
+++ b/scripts/cargo-clif.rs
@@ -38,7 +38,7 @@ fn main() {
                 .chain(env::args().skip(2))
                 .chain([
                     "--".to_string(),
-                    "-Zunstable-features".to_string(),
+                    "-Zunstable-options".to_string(),
                     "-Cllvm-args=mode=jit".to_string(),
                 ])
                 .collect()
@@ -52,7 +52,7 @@ fn main() {
                 .chain(env::args().skip(2))
                 .chain([
                     "--".to_string(),
-                    "-Zunstable-features".to_string(),
+                    "-Zunstable-options".to_string(),
                     "-Cllvm-args=mode=jit-lazy".to_string(),
                 ])
                 .collect()