-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Enforce in bootstrap that clippy must have stage at least 1 #145131
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
base: master
Are you sure you want to change the base?
Conversation
This PR modifies If appropriate, please update |
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #145011) made this pull request unmergeable. Please resolve the merge conflicts. |
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.
Thanks, some questions
@rustbot author |
86f514d
to
bbce854
Compare
Rebased. |
This comment has been minimized.
This comment has been minimized.
I realized that |
This comment has been minimized.
This comment has been minimized.
8783c7d
to
16e6dd9
Compare
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
16e6dd9
to
3419ff3
Compare
☔ The latest upstream changes (presumably #145295) made this pull request unmergeable. Please resolve the merge conflicts. |
To correctly pass `RustcPrivateCompilers` to it and to avoid running it on `x clippy compiler`.
3419ff3
to
2e4e0fc
Compare
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.
Thanks, one question
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.
Thanks
@bors r+ rollup=never (clippy staging) |
This mostly piggybacks on the previous
x check
rework.The new "rules" follow the new staging logic. So
x clippy <foo>
lintsfoo
using stage0 Clippy.x clippy --stage 2 <foo>
lintsfoo
using stage1 Clippy (which is built from in-tree sources).I had to fix some latent issues with
prepare_compiler_for_check
along the way.Checking
rustc_private
tools should now check less compiler crates (or rather not check compiler examples/tests/etc.), potentially speeding it up slightly.I also had to make some manual adjustments to
x clippy ci
so that it doesn't do needless work.r? @jieyouxu