This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
bootstrap/src/core/build_steps Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Consider setting `rust.debuginfo-level = 1` in `config.toml`."#);
2727 let args = std:: env:: args ( ) . skip_while ( |a| a != "--" ) . skip ( 1 ) ;
2828
2929 let mut cmd = builder. tool_cmd ( Tool :: RustcPerfWrapper ) ;
30- cmd. env ( "PERF_RUSTC " , rustc)
30+ cmd. env ( "RUSTC_REAL " , rustc)
3131 . env ( "PERF_COLLECTOR" , collector)
3232 . env ( "PERF_RESULT_DIR" , profile_results_dir)
3333 . args ( args) ;
Original file line number Diff line number Diff line change 11# rustc-perf wrapper
22Utility tool for invoking [ ` rustc-perf ` ] ( https://github.com/rust-lang/rustc-perf ) for benchmarking/profiling
3- a stage1/2 compiler built by bootstrap using ` x run perf ` .
3+ a stage1/2 compiler built by bootstrap using ` x perf -- <command> ` .
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ struct SharedOpts {
6868#[ derive( Debug , clap:: Parser ) ]
6969struct BuildContext {
7070 /// Compiler binary that will be benchmarked/profiled.
71- #[ clap( long, hide = true , env = "PERF_RUSTC " ) ]
71+ #[ clap( long, hide = true , env = "RUSTC_REAL " ) ]
7272 compiler : PathBuf ,
7373 /// rustc-perf collector binary that will be used for running benchmarks/profilers.
7474 #[ clap( long, hide = true , env = "PERF_COLLECTOR" ) ]
You can’t perform that action at this time.
0 commit comments