File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
collector/src/bin/rustc-perf-collector Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,9 @@ impl<'a> CargoProcess<'a> {
203
203
loop {
204
204
let mut cmd = self . base_command ( self . cwd , "rustc" ) ;
205
205
cmd. arg ( "-p" ) . arg ( self . get_pkgid ( self . cwd ) ) ;
206
+ cmd. arg ( "-Zbuild-std" )
207
+ . arg ( "--target" )
208
+ . arg ( self . compiler . triple ) ;
206
209
match self . build_kind {
207
210
BuildKind :: Check => {
208
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" ) ;
547
- summarize_cmd
548
- . arg ( "summarize" )
549
- . arg ( & zsp_files_prefix) ;
550
+ summarize_cmd. arg ( "summarize" ) . arg ( & zsp_files_prefix) ;
550
551
let output = summarize_cmd. output ( ) ?;
551
552
fs:: write ( & summarize_file, & output. stdout ) ?;
552
553
You can’t perform that action at this time.
0 commit comments