-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
A few cleanups after the removal of cfg(not(parallel))
#137922
base: master
Are you sure you want to change the base?
Conversation
With the removal of `cfg(parallel_compiler)`, these parameters are never considered unused.
The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. |
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 for the nice work!
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.
Can you squash the commits? Since they are all cleaning works and have no side effects
With the removal of `cfg(parallel_compiler)`, these are always shared references and `std::sync::OnceLock`.
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
I have squished as much as possible without losing crucial information. Squashing any more would make the history needlessly confusing. I also noticed that Clippy needed to be adjusted, and that the |
Thanks! |
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
A few cleanups after the removal of `cfg(not(parallel))` I noticed a few small things that are no longer needed after the removal of `cfg(not(parallel))` in rust-lang#132282. One of the later changes adjusts several imports, so viewing the changes individually is recommended. r? SparrowLii (or reroll)
I noticed a few small things that are no longer needed after the removal of
cfg(not(parallel))
in #132282.One of the later changes adjusts several imports, so viewing the changes individually is recommended.
r? SparrowLii (or reroll)