File tree 3 files changed +3
-3
lines changed
bootstrap/src/core/build_steps
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`."#);
27
27
let args = std:: env:: args ( ) . skip_while ( |a| a != "--" ) . skip ( 1 ) ;
28
28
29
29
let mut cmd = builder. tool_cmd ( Tool :: RustcPerfWrapper ) ;
30
- cmd. env ( "PERF_RUSTC " , rustc)
30
+ cmd. env ( "RUSTC_REAL " , rustc)
31
31
. env ( "PERF_COLLECTOR" , collector)
32
32
. env ( "PERF_RESULT_DIR" , profile_results_dir)
33
33
. args ( args) ;
Original file line number Diff line number Diff line change 1
1
# rustc-perf wrapper
2
2
Utility 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 {
68
68
#[ derive( Debug , clap:: Parser ) ]
69
69
struct BuildContext {
70
70
/// Compiler binary that will be benchmarked/profiled.
71
- #[ clap( long, hide = true , env = "PERF_RUSTC " ) ]
71
+ #[ clap( long, hide = true , env = "RUSTC_REAL " ) ]
72
72
compiler : PathBuf ,
73
73
/// rustc-perf collector binary that will be used for running benchmarks/profilers.
74
74
#[ clap( long, hide = true , env = "PERF_COLLECTOR" ) ]
You can’t perform that action at this time.
0 commit comments