-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Inject clippy into the rls again #52172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Also makes sure we actually point to the local rls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\o/
src/bootstrap/tool.rs
Outdated
extra_features: Vec::new(), | ||
}); | ||
let channel = &builder.config.channel; | ||
if clippy.is_some() && channel != "stable" && channel != "beta" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need the channel checks here. This will ride the trains to beta and stable and should include this. And this won't affect how stable and beta are currently built.
@@ -1221,7 +1221,7 @@ impl Step for Clippy { | |||
let tmp = tmpdir(builder); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this also need changes to build-manifest? I think it doesn't because there is still just the clippy component which installs both clippy and cargo clippy - is that correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea, this is mirroring the rustfmt + cargo-fmt code. I should probably deduplicate that someday
Addressed review comments |
@bors: r+ |
📌 Commit 0fc61be has been approved by |
@bors p=1 -- edition-related, want to get this landed so we can commence proper experimentation |
Inject clippy into the rls again Also makes sure we actually point to the local rustfmt r? @nrc cc @Manishearth
☀️ Test successful - status-appveyor, status-travis |
Tested on commit rust-lang/rust@4ba5ff4. Direct link to PR: <rust-lang/rust#52172> 💔 rls on windows: test-pass → build-fail (cc @nrc, @rust-lang/infra). 💔 rls on linux: test-pass → build-fail (cc @nrc, @rust-lang/infra).
RLS should probably use
|
Also makes sure we actually point to the local rustfmt
r? @nrc
cc @Manishearth