check-cfg needs -Zunstable-options
This commit is contained in:
parent
db12abf5e1
commit
97ca520c44
@ -457,6 +457,7 @@ 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("-Zunstable-options");
|
||||||
cmd.arg("--check-cfg=cfg(no_unstable_features)");
|
cmd.arg("--check-cfg=cfg(no_unstable_features)");
|
||||||
cmd.arg("--check-cfg=cfg(jit)");
|
cmd.arg("--check-cfg=cfg(jit)");
|
||||||
cmd.args(args);
|
cmd.args(args);
|
||||||
|
Loading…
Reference in New Issue
Block a user