mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
rustc: Avoid passing jobserver proxy around the compiler It is used once, when marking a `rustc_thread_pool` worker thread as blocked. `rustc_thread_pool` already has access to the jobserver proxy, so we can move its use from outside of `mark_blocked` to inside of it. (The modified part of `rustc_thread_pool` is a rustc-specific extension, not an original rayon-core API.) This is a simpler cleanup subset of https://github.com/rust-lang/rust/pull/155997. r? @nnethercote