about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-08-13 08:58:49 +0500
committerMark Simulacrum <mark.simulacrum@gmail.com>2017-08-13 08:58:49 +0500
commit01641c70331d704fdab05914f21921e453ae61bb (patch)
tree6709097b8e55a02e74aae602af3a78c56e2c5d8a
parent82cdf1006e235a318a927b58ab0bc53b7f2a611c (diff)
downloadrust-01641c70331d704fdab05914f21921e453ae61bb.tar.gz
rust-01641c70331d704fdab05914f21921e453ae61bb.zip
Build rustdoc with the native build triple
-rw-r--r--src/bootstrap/tool.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 255ded4c3f6..d798e8de3df 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -262,7 +262,7 @@ impl Step for Rustdoc {
         } else if target_compiler.stage >= 2 {
             // Past stage 2, we consider the compiler to be ABI-compatible and hence capable of
             // building rustdoc itself.
-            target_compiler
+            builder.compiler(target_compiler.stage, builder.build.build)
         } else {
             // 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