File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -582,7 +582,7 @@ impl Step for Rustdoc {
582
582
if !target_compiler. is_snapshot ( builder) {
583
583
panic ! ( "rustdoc in stage 0 must be snapshot rustdoc" ) ;
584
584
}
585
- return builder. initial_rustc . with_file_name ( exe ( "rustdoc" , target_compiler . host ) ) ;
585
+ return builder. initial_rustdoc . clone ( ) ;
586
586
}
587
587
let target = target_compiler. host ;
588
588
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ pub struct Build {
154
154
targets : Vec < TargetSelection > ,
155
155
156
156
initial_rustc : PathBuf ,
157
+ initial_rustdoc : PathBuf ,
157
158
initial_cargo : PathBuf ,
158
159
initial_lld : PathBuf ,
159
160
initial_relative_libdir : PathBuf ,
@@ -354,6 +355,7 @@ impl Build {
354
355
initial_lld,
355
356
initial_relative_libdir,
356
357
initial_rustc : config. initial_rustc . clone ( ) ,
358
+ initial_rustdoc : config. initial_rustc . with_file_name ( exe ( "rustdoc" , config. build ) ) ,
357
359
initial_cargo : config. initial_cargo . clone ( ) ,
358
360
initial_sysroot : config. initial_sysroot . clone ( ) ,
359
361
local_rebuild : config. local_rebuild ,
You can’t perform that action at this time.
0 commit comments