Skip to content

Commit

Permalink
Add check-cfg to cranelift
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Nov 16, 2023
1 parent 917f654 commit 9e8edb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_codegen_cranelift/build_system/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,8 @@ impl<'a> TestRunner<'a> {
cmd.arg("--target");
cmd.arg(&self.target_compiler.triple);
cmd.arg("-Cpanic=abort");
cmd.arg("--check-cfg=cfg(no_unstable_features)");
cmd.arg("--check-cfg=cfg(jit)");
cmd.args(args);
cmd
}
Expand Down

0 comments on commit 9e8edb6

Please sign in to comment.