Skip to content

Commit 5073c15

Browse files
committed
enable RUSTC_BOOTSTRAP on panic=abort mir-opt test
Signed-off-by: onur-ozkan <[email protected]>
1 parent 090d5ea commit 5073c15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/src/core/build_steps/synthetic_targets.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ fn create_synthetic_target(
5959
let mut cmd = Command::new(builder.rustc(compiler));
6060
cmd.arg("--target").arg(base.rustc_target_arg());
6161
cmd.args(["-Zunstable-options", "--print", "target-spec-json"]);
62+
cmd.env("RUSTC_BOOTSTRAP", "1");
6263
cmd.stdout(Stdio::piped());
6364

6465
let output = cmd.spawn().unwrap().wait_with_output().unwrap();

0 commit comments

Comments
 (0)