check-cfg needs -Zunstable-options

This commit is contained in:
bjorn3 2023-11-16 21:24:33 +00:00
parent db12abf5e1
commit 97ca520c44

View File

@ -457,6 +457,7 @@ fn rustc_command<I, S>(&self, args: I) -> Command
cmd.arg("--target");
cmd.arg(&self.target_compiler.triple);
cmd.arg("-Cpanic=abort");
cmd.arg("-Zunstable-options");
cmd.arg("--check-cfg=cfg(no_unstable_features)");
cmd.arg("--check-cfg=cfg(jit)");
cmd.args(args);