about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-11-16 21:24:33 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-11-16 21:24:33 +0000
commit97ca520c448fbfb405ba3560ce521b2e31c81cc2 (patch)
treec37542ae327dbce54ef3de1d4a5a6c2de856782f
parentdb12abf5e1dfcc3b707b743ff0df6f9e29504013 (diff)
downloadrust-97ca520c448fbfb405ba3560ce521b2e31c81cc2.tar.gz
rust-97ca520c448fbfb405ba3560ce521b2e31c81cc2.zip
check-cfg needs -Zunstable-options
-rw-r--r--build_system/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_system/tests.rs b/build_system/tests.rs
index ff71a567ed3..f6e6ac6f1e8 100644
--- a/build_system/tests.rs
+++ b/build_system/tests.rs
@@ -457,6 +457,7 @@ impl<'a> TestRunner<'a> {
         cmd.arg("--target");
         cmd.arg(&self.target_compiler.triple);
         cmd.arg("-Cpanic=abort");
+        cmd.arg("-Zunstable-options");
         cmd.arg("--check-cfg=cfg(no_unstable_features)");
         cmd.arg("--check-cfg=cfg(jit)");
         cmd.args(args);