You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At some point there will be no more progress during the builds, it looks like we get stuck on build.rs scripts?
Works fine without the -Zthreads=2 and also works fine without the --fix
What is weird that we don't seem to hang with active cpu load, but I can still see some rustc processes running
Add a jobserver proxy to ensure at least one token is always held
This adds a jobserver proxy to ensure at least one token is always held by `rustc`. Currently with `-Z threads` `rustc` can temporarily give up all its tokens, causing `cargo` to spawn additional `rustc` instances beyond the job limit.
The current behavior causes an issue with `cargo fix` which has a global lock preventing concurrent `rustc` instances, but it also holds a jobserver token, causing a deadlock when `rustc` gives up its token. That is fixed by this PR.
Fixesrust-lang#133873 and rust-lang#140093.
repro:
At some point there will be no more progress during the builds, it looks like we get stuck on
build.rs
scripts?Works fine without the
-Zthreads=2
and also works fine without the--fix
What is weird that we don't seem to hang with active cpu load, but I can still see some rustc processes running
The text was updated successfully, but these errors were encountered: