From 97ca520c448fbfb405ba3560ce521b2e31c81cc2 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:24:33 +0000 Subject: [PATCH] check-cfg needs -Zunstable-options --- build_system/tests.rs | 1 + 1 file changed, 1 insertion(+) 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 @@ fn rustc_command(&self, args: I) -> Command 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);