bootstrap: make comment more clear
Reading that at first made me think the code block ensures that the said artefacts are created
This commit is contained in:
parent
6988a8fea7
commit
09e0dcae1d
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue