Rollup merge of #139707 - Kobzol:fix-comment, r=jieyouxu
Fix comment in bootstrap Didn't notice it in https://github.com/rust-lang/rust/pull/139588. r? ````@jieyouxu````
This commit is contained in:
commit
34eca3b07c
1 changed files with 1 additions and 4 deletions
|
@ -150,10 +150,7 @@ impl Step for ToolBuild {
|
|||
|
||||
// Rustc tools (miri, clippy, cargo, rustfmt, rust-analyzer)
|
||||
// could use the additional optimizations.
|
||||
if self.mode == Mode::ToolRustc &&
|
||||
// rustdoc is performance sensitive, so apply LTO to it.
|
||||
is_lto_stage(&self.compiler)
|
||||
{
|
||||
if self.mode == Mode::ToolRustc && is_lto_stage(&self.compiler) {
|
||||
let lto = match builder.config.rust_lto {
|
||||
RustcLto::Off => Some("off"),
|
||||
RustcLto::Thin => Some("thin"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue