We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b40b3b commit c69c79fCopy full SHA for c69c79f
src/bootstrap/render_tests.rs
@@ -18,6 +18,8 @@ pub(crate) fn add_flags_and_try_run_tests(builder: &Builder<'_>, cmd: &mut Comma
18
if cmd.get_args().position(|arg| arg == "--").is_none() {
19
cmd.arg("--");
20
}
21
+ // Required for -Z flags.
22
+ cmd.env("RUSTC_BOOTSTRAP", "1");
23
cmd.args(&["-Z", "unstable-options", "--format", "json"]);
24
25
try_run_tests(builder, cmd, false)
0 commit comments