We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d30f047 + 6ac8e51 commit 04a7c2cCopy full SHA for 04a7c2c
src/bootstrap/src/core/build_steps/perf.rs
@@ -1,3 +1,4 @@
1
+use std::env::consts::EXE_EXTENSION;
2
use std::fmt::{Display, Formatter};
3
4
use crate::core::build_steps::compile::{Std, Sysroot};
@@ -160,7 +161,10 @@ Consider setting `rust.debuginfo-level = 1` in `bootstrap.toml`."#);
160
161
}
162
163
let sysroot = builder.ensure(Sysroot::new(compiler));
- let rustc = sysroot.join("bin/rustc");
164
+ let mut rustc = sysroot.clone();
165
+ rustc.push("bin");
166
+ rustc.push("rustc");
167
+ rustc.set_extension(EXE_EXTENSION);
168
169
let rustc_perf_dir = builder.build.tempdir().join("rustc-perf");
170
let results_dir = rustc_perf_dir.join("results");
0 commit comments