We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17d7cb9 commit 1b07d13Copy full SHA for 1b07d13
collector/src/bin/rustc-perf-collector/execute.rs
@@ -203,6 +203,9 @@ impl<'a> CargoProcess<'a> {
203
loop {
204
let mut cmd = self.base_command(self.cwd, "rustc");
205
cmd.arg("-p").arg(self.get_pkgid(self.cwd));
206
+ cmd.arg("-Zbuild-std")
207
+ .arg("--target")
208
+ .arg(self.compiler.triple);
209
match self.build_kind {
210
BuildKind::Check => {
211
cmd.arg("--profile").arg("check");
@@ -544,9 +547,7 @@ impl<'a> Processor for ProfileProcessor<'a> {
544
547
545
548
// Run `summarize`.
546
549
let mut summarize_cmd = Command::new("summarize");
- summarize_cmd
- .arg("summarize")
- .arg(&zsp_files_prefix);
550
+ summarize_cmd.arg("summarize").arg(&zsp_files_prefix);
551
let output = summarize_cmd.output()?;
552
fs::write(&summarize_file, &output.stdout)?;
553
0 commit comments