Add check-cfg to cranelift
This commit is contained in:
parent
d49fd9f877
commit
497c17a390
@ -457,6 +457,8 @@ fn rustc_command<I, S>(&self, args: I) -> Command
|
|||||||
cmd.arg("--target");
|
cmd.arg("--target");
|
||||||
cmd.arg(&self.target_compiler.triple);
|
cmd.arg(&self.target_compiler.triple);
|
||||||
cmd.arg("-Cpanic=abort");
|
cmd.arg("-Cpanic=abort");
|
||||||
|
cmd.arg("--check-cfg=cfg(no_unstable_features)");
|
||||||
|
cmd.arg("--check-cfg=cfg(jit)");
|
||||||
cmd.args(args);
|
cmd.args(args);
|
||||||
cmd
|
cmd
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user