-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Remove Sync
requirement from lint pass objects
#101156
Conversation
Does the parallel compiler build with this change? |
It builds locally. CI is also building the parallel compiler is it not? |
I don't think CI builds the parallel compiler, like it doesn't even build more than just the x86_64-unknown-linux-gnu compiler in stage2. But I did check that enabling the parallel compiler and building this branch works, so this is fine then. @bors r+ |
The failure in #101140 only happens when building the parallel compiler, so I had assumed that was what CI was doing. |
Guess it does then 👍 |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#100898 (Do not report too many expr field candidates) - rust-lang#101056 (Add the syntax of references to their documentation summary.) - rust-lang#101106 (Rustdoc-Json: Retain Stripped Modules when they are imported, not when they have items) - rust-lang#101131 (CTFE: exposing pointers and calling extern fn is just impossible) - rust-lang#101141 (Simplify `get_trait_ref` fn used for `virtual_function_elimination`) - rust-lang#101146 (Various changes to logging of borrowck-related code) - rust-lang#101156 (Remove `Sync` requirement from lint pass objects) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This is blocking the clippy sync (#101140). One of the lint passes contains a
Cell
in order to make lifetimes work. It could be worked around, but this is the easier change to make if there are no objections.Rational for removing the requirement
&mut self
arguments.Send
is enough to lint different passes in parallel.LintStore
remainsSync
with this. The constructor functions it contains still maintain theirSync
requirement.r? rust-lang/compiler