Skip to content

Commit 34eca3b

Browse files
authored
Rollup merge of #139707 - Kobzol:fix-comment, r=jieyouxu
Fix comment in bootstrap Didn't notice it in #139588. r? ````@jieyouxu````
2 parents b0c0ff9 + ddf8237 commit 34eca3b

File tree

1 file changed

+1
-4
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-4
lines changed

Diff for: src/bootstrap/src/core/build_steps/tool.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,7 @@ impl Step for ToolBuild {
150150

151151
// Rustc tools (miri, clippy, cargo, rustfmt, rust-analyzer)
152152
// could use the additional optimizations.
153-
if self.mode == Mode::ToolRustc &&
154-
// rustdoc is performance sensitive, so apply LTO to it.
155-
is_lto_stage(&self.compiler)
156-
{
153+
if self.mode == Mode::ToolRustc && is_lto_stage(&self.compiler) {
157154
let lto = match builder.config.rust_lto {
158155
RustcLto::Off => Some("off"),
159156
RustcLto::Thin => Some("thin"),

0 commit comments

Comments
 (0)