diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-11-14 18:31:28 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-11-15 21:45:48 -0500 |
| commit | 9e8edb6659fa53379ead8dd033f270acd81406ac (patch) | |
| tree | f0e81d247b0e4db2bfe8ee68669f9428eec192a8 /compiler | |
| parent | 917f6540edc20de22e1fb3069e7b325209109350 (diff) | |
| download | rust-9e8edb6659fa53379ead8dd033f270acd81406ac.tar.gz rust-9e8edb6659fa53379ead8dd033f270acd81406ac.zip | |
Add check-cfg to cranelift
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/build_system/tests.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/build_system/tests.rs b/compiler/rustc_codegen_cranelift/build_system/tests.rs index 10736ff9a55..ff71a567ed3 100644 --- a/compiler/rustc_codegen_cranelift/build_system/tests.rs +++ b/compiler/rustc_codegen_cranelift/build_system/tests.rs @@ -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 } |
