Skip to content

Commit d7a62e4

Browse files
Add check-cfg to cranelift
1 parent ee5b402 commit d7a62e4

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_codegen_cranelift/build_system

1 file changed

+2
-0
lines changed

compiler/rustc_codegen_cranelift/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)