File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ impl Step for Linkcheck {
119
119
}
120
120
121
121
fn make_run ( run : RunConfig ) {
122
- run. builder . ensure ( Linkcheck { host : run. host } ) ;
122
+ run. builder . ensure ( Linkcheck { host : run. target } ) ;
123
123
}
124
124
}
125
125
@@ -140,7 +140,7 @@ impl Step for Cargotest {
140
140
fn make_run ( run : RunConfig ) {
141
141
run. builder . ensure ( Cargotest {
142
142
stage : run. builder . top_stage ,
143
- host : run. host ,
143
+ host : run. target ,
144
144
} ) ;
145
145
}
146
146
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl Step for TheBook {
192
192
193
193
fn make_run ( run : RunConfig ) {
194
194
run. builder . ensure ( TheBook {
195
- compiler : run. builder . compiler ( run. builder . top_stage , run. host ) ,
195
+ compiler : run. builder . compiler ( run. builder . top_stage , run. builder . build . build ) ,
196
196
target : run. target ,
197
197
name : "book" ,
198
198
} ) ;
@@ -296,7 +296,7 @@ impl Step for Standalone {
296
296
297
297
fn make_run ( run : RunConfig ) {
298
298
run. builder . ensure ( Standalone {
299
- compiler : run. builder . compiler ( run. builder . top_stage , run. host ) ,
299
+ compiler : run. builder . compiler ( run. builder . top_stage , run. builder . build . build ) ,
300
300
target : run. target ,
301
301
} ) ;
302
302
}
Original file line number Diff line number Diff line change @@ -247,17 +247,17 @@ impl Step for Rustdoc {
247
247
fn run ( self , builder : & Builder ) -> PathBuf {
248
248
let target_compiler = self . target_compiler ;
249
249
let build_compiler = if target_compiler. stage == 0 {
250
- target_compiler
250
+ builder . compiler ( 0 , builder . build . build )
251
251
} else {
252
252
// Similar to `compile::Assemble`, build with the previous stage's compiler. Otherwise
253
253
// we'd have stageN/bin/rustc and stageN/bin/rustdoc be effectively different stage
254
254
// compilers, which isn't what we want.
255
- builder. compiler ( target_compiler. stage - 1 , target_compiler . host )
255
+ builder. compiler ( target_compiler. stage - 1 , builder . build . build )
256
256
} ;
257
257
258
258
let tool_rustdoc = builder. ensure ( ToolBuild {
259
259
compiler : build_compiler,
260
- target : build_compiler . host ,
260
+ target : target_compiler . host ,
261
261
tool : "rustdoc" ,
262
262
mode : Mode :: Librustc ,
263
263
} ) ;
You can’t perform that action at this time.
0 commit comments