Skip to content

Commit 89bc060

Browse files
authored
Merge pull request #1973 from lqd/virtual-sanity
disable bootstrap stage0 target checks
2 parents 220e713 + 0efdac1 commit 89bc060

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

collector/src/compile/execute/rustc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ async fn record(
112112
)
113113
.current_dir(checkout)
114114
.env("RUSTC_PERF_REAL_RUSTC", &toolchain.components.rustc)
115+
// When overriding the stage0 compiler, we want to avoid bootstrap's target checks. See
116+
// https://github.com/rust-lang/rust/pull/129651 for more details.
117+
.env("BOOTSTRAP_SKIP_TARGET_SANITY", "1")
115118
.arg("build")
116119
.arg("--stage")
117120
.arg("0")

0 commit comments

Comments
 (0)