Build rustdoc with the native build triple
This commit is contained in:
parent
82cdf1006e
commit
01641c7033
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ impl Step for Rustdoc {
|
||||||
} else if target_compiler.stage >= 2 {
|
} else if target_compiler.stage >= 2 {
|
||||||
// Past stage 2, we consider the compiler to be ABI-compatible and hence capable of
|
// Past stage 2, we consider the compiler to be ABI-compatible and hence capable of
|
||||||
// building rustdoc itself.
|
// building rustdoc itself.
|
||||||
target_compiler
|
builder.compiler(target_compiler.stage, builder.build.build)
|
||||||
} else {
|
} else {
|
||||||
// Similar to `compile::Assemble`, build with the previous stage's compiler. Otherwise
|
// Similar to `compile::Assemble`, build with the previous stage's compiler. Otherwise
|
||||||
// we'd have stageN/bin/rustc and stageN/bin/rustdoc be effectively different stage
|
// we'd have stageN/bin/rustc and stageN/bin/rustdoc be effectively different stage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue