Skip to content

Commit 6ee44d9

Browse files
authored
Unrolled build for #143269
Rollup merge of #143269 - tshepang:patch-1, r=Kobzol bootstrap: make comment more clear Reading that at first made me think the code block ensures that the said artefacts are created
2 parents 4e97337 + 09e0dca commit 6ee44d9

File tree

1 file changed

+2
-2
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-2
lines changed

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ impl Step for ToolBuild {
120120

121121
match self.mode {
122122
Mode::ToolRustc => {
123-
// If compiler was forced, its artifacts should be prepared earlier.
123+
// If compiler was forced, its artifacts should have been prepared earlier.
124124
if !self.compiler.is_forced_compiler() {
125125
builder.std(self.compiler, self.compiler.host);
126126
builder.ensure(compile::Rustc::new(self.compiler, target));
127127
}
128128
}
129129
Mode::ToolStd => {
130-
// If compiler was forced, its artifacts should be prepared earlier.
130+
// If compiler was forced, its artifacts should have been prepared earlier.
131131
if !self.compiler.is_forced_compiler() {
132132
builder.std(self.compiler, target)
133133
}

0 commit comments

Comments
 (0)