File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ impl Bootstrap {
109
109
"--stage" ,
110
110
"2" ,
111
111
"library/std" ,
112
+ // FIXME: benchmarks fails when using beta std on stage 0
113
+ "--build-std-on-stage0" ,
112
114
] )
113
115
. env ( "RUST_BACKTRACE" , "full" ) ;
114
116
Self { cmd, metrics_path }
@@ -117,6 +119,10 @@ impl Bootstrap {
117
119
pub fn dist ( env : & Environment , dist_args : & [ String ] ) -> Self {
118
120
let metrics_path = env. build_root ( ) . join ( "build" ) . join ( "metrics.json" ) ;
119
121
let cmd = cmd ( & dist_args. iter ( ) . map ( |arg| arg. as_str ( ) ) . collect :: < Vec < _ > > ( ) )
122
+ // In this command we have `--keep-stage 0 --keep-stage 1` flags. Since we used
123
+ // `--build-std-on-stage0` in the previous bootstrap invocation (in `fn build`)
124
+ // we need to include it again.
125
+ . arg ( "--build-std-on-stage0" )
120
126
. env ( "RUST_BACKTRACE" , "full" ) ;
121
127
Self { cmd, metrics_path }
122
128
}
You can’t perform that action at this time.
0 commit comments