Add check-cfg to cranelift

This commit is contained in:
Mark Rousskov 2023-11-14 18:31:28 -05:00
parent d49fd9f877
commit 497c17a390

View File

@ -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
}