Add check-cfg to cranelift
This commit is contained in:
parent
917f6540ed
commit
9e8edb6659
@ -457,6 +457,8 @@ fn rustc_command<I, S>(&self, args: I) -> Command
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user