Skip to content

Commit

Permalink
Merge pull request #1973 from lqd/virtual-sanity
Browse files Browse the repository at this point in the history
disable bootstrap stage0 target checks
  • Loading branch information
Kobzol authored Sep 5, 2024
2 parents 220e713 + 0efdac1 commit 89bc060
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions collector/src/compile/execute/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ async fn record(
)
.current_dir(checkout)
.env("RUSTC_PERF_REAL_RUSTC", &toolchain.components.rustc)
// When overriding the stage0 compiler, we want to avoid bootstrap's target checks. See
// https://github.com/rust-lang/rust/pull/129651 for more details.
.env("BOOTSTRAP_SKIP_TARGET_SANITY", "1")
.arg("build")
.arg("--stage")
.arg("0")
Expand Down

0 comments on commit 89bc060

Please sign in to comment.