提交 3c43163d 编写于 作者: M Mark Simulacrum

Explain why we subtract one from the stage

上级 cb27faf7
...@@ -249,6 +249,9 @@ fn run(self, builder: &Builder) -> PathBuf { ...@@ -249,6 +249,9 @@ fn run(self, builder: &Builder) -> PathBuf {
let build_compiler = if target_compiler.stage == 0 { let build_compiler = if target_compiler.stage == 0 {
target_compiler target_compiler
} else { } 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
// compilers, which isn't what we want.
builder.compiler(target_compiler.stage - 1, target_compiler.host) builder.compiler(target_compiler.stage - 1, target_compiler.host)
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册