We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f06e5c1 commit 3501da3Copy full SHA for 3501da3
src/bootstrap/src/core/build_steps/tool.rs
@@ -148,7 +148,7 @@ impl Step for ToolBuild {
148
&self.extra_features,
149
);
150
151
- if path.ends_with("/rustdoc") &&
+ if (path.ends_with("/rustdoc") || tool == "rust-analyzer") &&
152
// rustdoc is performance sensitive, so apply LTO to it.
153
is_lto_stage(&self.compiler)
154
{
0 commit comments