-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Update to rustc-rayon 0.3.1 #82999
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
Update to rustc-rayon 0.3.1 #82999
Conversation
This pulls in rust-lang/rustc-rayon#8 to fix rust-lang#81425. (h/t @ammaraskar) That revealed weak constraints on `rustc_arena::DropArena`, because its `DropType` was holding type-erased raw pointers to generic `T`. We can implement `Send` for `DropType` (under `cfg(parallel_compiler)`) by requiring all `T: Send` before they're type-erased.
r? @varkor (rust-highfive has picked a reviewer for you, use r? to override) |
Looks fine to me, but I'm not confident I wouldn't overlook some subtlety here, so I'd rather reassign (based on |
@bors r+ rollup=never |
📌 Commit f7e75a2 has been approved by |
⌛ Testing commit f7e75a2 with merge 6d531114c5607bdb63c459e08ac5d9168350d8e2... |
💥 Test timed out |
@bors retry |
⌛ Testing commit f7e75a2 with merge 841f24fedd4117c725ea60e802bf129a5119f6be... |
💔 Test failed - checks-actions |
@bors retry |
⌛ Testing commit f7e75a2 with merge a69bfdd9f201d1f1c424060adac9047a8ed71d16... |
💥 Test timed out |
Same failure, @bors retry |
☀️ Test successful - checks-actions |
This pulls in rust-lang/rustc-rayon#8 to fix #81425. (h/t @ammaraskar)
That revealed weak constraints on
rustc_arena::DropArena
, because itsDropType
was holding type-erased raw pointers to genericT
. We canimplement
Send
forDropType
(undercfg(parallel_compiler)
) byrequiring all
T: Send
before they're type-erased.