diff options
| author | Tshepang Mbambo <hopsi@tuta.io> | 2025-07-01 08:56:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-01 08:56:53 +0200 |
| commit | 09e0dcae1d224c0c207dfa79e06ac76b0cd1179e (patch) | |
| tree | c82ef580cc2f65413c8919295a16d518a57ab652 | |
| parent | 6988a8fea774a2a20ebebddb7dbf15dd6ef594f9 (diff) | |
| download | rust-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.rs | 4 |
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) } |
