Skip to content

Commit 01641c7

Browse files
Build rustdoc with the native build triple
1 parent 82cdf10 commit 01641c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/tool.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ impl Step for Rustdoc {
262262
} else if target_compiler.stage >= 2 {
263263
// Past stage 2, we consider the compiler to be ABI-compatible and hence capable of
264264
// building rustdoc itself.
265-
target_compiler
265+
builder.compiler(target_compiler.stage, builder.build.build)
266266
} else {
267267
// Similar to `compile::Assemble`, build with the previous stage's compiler. Otherwise
268268
// we'd have stageN/bin/rustc and stageN/bin/rustdoc be effectively different stage

0 commit comments

Comments
 (0)