We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb27faf commit 3c43163Copy full SHA for 3c43163
src/bootstrap/tool.rs
@@ -249,6 +249,9 @@ impl Step for Rustdoc {
249
let build_compiler = if target_compiler.stage == 0 {
250
target_compiler
251
} else {
252
+ // Similar to `compile::Assemble`, build with the previous stage's compiler. Otherwise
253
+ // we'd have stageN/bin/rustc and stageN/bin/rustdoc be effectively different stage
254
+ // compilers, which isn't what we want.
255
builder.compiler(target_compiler.stage - 1, target_compiler.host)
256
};
257
0 commit comments