about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <hopsi@tuta.io>2025-07-01 08:56:53 +0200
committerGitHub <noreply@github.com>2025-07-01 08:56:53 +0200
commit09e0dcae1d224c0c207dfa79e06ac76b0cd1179e (patch)
treec82ef580cc2f65413c8919295a16d518a57ab652
parent6988a8fea774a2a20ebebddb7dbf15dd6ef594f9 (diff)
downloadrust-09e0dcae1d224c0c207dfa79e06ac76b0cd1179e.tar.gz
rust-09e0dcae1d224c0c207dfa79e06ac76b0cd1179e.zip
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)
                 }