From ddde38d1323f103c55710a8b9599feb0f76ea186 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sun, 1 May 2022 15:54:12 +0200 Subject: [PATCH] Fix jit mode with cargo-clif wrapper --- scripts/cargo-clif.rs | 4 ++-- 1 file 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()