-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Allow to disable auto and blanket trait impls retrieval in rustdoc if it is in parallel_compiler
mode
#107121
Conversation
… it is in `parallel_compiler` mode
r? @notriddle (rustbot has picked a reviewer for you, use r? to override) |
r? @oli-obk |
// FIXME: To be removed once `parallel_compiler` bugs are fixed! | ||
// More information in <https://github.com/rust-lang/rust/pull/106745>. | ||
if !cfg!(parallel_compiler) { |
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.
Should probably just make this an early return to reduce churn when we remove it again.
This doesn't seem to work. If I add this change to #106745, set |
.run(|| BlanketImplFinder { cx }.get_blanket_impls(item_def_id)); | ||
auto_impls.into_iter().chain(blanket_impls) | ||
// FIXME: To be removed once `parallel_compiler` bugs are fixed! | ||
// More information in <https://github.com/rust-lang/rust/pull/106745>. |
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 link #106930 instead?
I wonder if we'll just run into failing tests for the parallel compiler builder. (Maybe it doesn't run the tests?) |
5805f04
to
01d15b4
Compare
We found a workaround and are debugging this issue in parallel |
Nothing new since my last comment in #106930 |
Part of #106745.
I was asking for @oli-obk to explain to me what they meant in #106745 (comment) and they explained to me that the current issue for
parallel_compiler
seemed to come from the auto/blanket impls retrieval in rustdoc. So this PR proposes to simply disable it in this case.I'm not sure if you need this to be merged (or if it's even a good idea to merge it in the first place) but at least you have a commit you can use to try to move forward on this feature.
cc @m-ou-se