We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
get_tool_rustc_compiler
1 parent b885407 commit 9e4b3d6Copy full SHA for 9e4b3d6
src/bootstrap/src/core/build_steps/tool.rs
@@ -299,6 +299,8 @@ pub(crate) fn get_tool_rustc_compiler(
299
if builder.download_rustc() && target_compiler.stage == 1 {
300
// We already have the stage 1 compiler, we don't need to cut the stage.
301
builder.compiler(target_compiler.stage, builder.config.build)
302
+ } else if target_compiler.is_forced_compiler() {
303
+ target_compiler
304
} else {
305
// Similar to `compile::Assemble`, build with the previous stage's compiler. Otherwise
306
// we'd have stageN/bin/rustc and stageN/bin/$rustc_tool be effectively different stage
0 commit comments