Skip to content

Commit 497c17a

Browse files
Add check-cfg to cranelift
1 parent d49fd9f commit 497c17a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_system/tests.rs

+2
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ impl<'a> TestRunner<'a> {
457457
cmd.arg("--target");
458458
cmd.arg(&self.target_compiler.triple);
459459
cmd.arg("-Cpanic=abort");
460+
cmd.arg("--check-cfg=cfg(no_unstable_features)");
461+
cmd.arg("--check-cfg=cfg(jit)");
460462
cmd.args(args);
461463
cmd
462464
}

0 commit comments

Comments
 (0)