about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-07-01 17:47:06 +0200
committerGitHub <noreply@github.com>2025-07-01 17:47:06 +0200
commitd2463c9a60d952be923ff6340a4d69f28bdd6ffa (patch)
tree60f52d813788b12809e1e2adbd7077ff82f24336
parentb47008a7c26b628910a7d08c90895455fec0ecee (diff)
parent09e0dcae1d224c0c207dfa79e06ac76b0cd1179e (diff)
downloadrust-d2463c9a60d952be923ff6340a4d69f28bdd6ffa.tar.gz
rust-d2463c9a60d952be923ff6340a4d69f28bdd6ffa.zip
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
-rw-r--r--src/bootstrap/src/core/build_steps/tool.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/build_steps/tool.rs b/src/bootstrap/src/core/build_steps/tool.rs
index 83c0525d7c4..a7220515ca0 100644
--- a/src/bootstrap/src/core/build_steps/tool.rs
+++ b/src/bootstrap/src/core/build_steps/tool.rs
@@ -120,14 +120,14 @@ impl Step for ToolBuild {
 
         match self.mode {
             Mode::ToolRustc => {
-                // If compiler was forced, its artifacts should be prepared earlier.
+                // If compiler was forced, its artifacts should have been prepared earlier.
                 if !self.compiler.is_forced_compiler() {
                     builder.std(self.compiler, self.compiler.host);
                     builder.ensure(compile::Rustc::new(self.compiler, target));
                 }
             }
             Mode::ToolStd => {
-                // If compiler was forced, its artifacts should be prepared earlier.
+                // If compiler was forced, its artifacts should have been prepared earlier.
                 if !self.compiler.is_forced_compiler() {
                     builder.std(self.compiler, target)
                 }