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
Auto merge of #12447 - belovdv:jobserver-remove-env-var, r=weihanglo
fix: preserve jobserver file descriptors on rustc invocation to get `TargetInfo`
Then cargo asks rustc for `TargetInfo`, cargo passes environment variables that describe jobserver file descriptors, but doesn't actually passed them, because `jobserver-rs` sets `FD_CLOEXEC` by default and expects users to explicitly call `Client::configure` to pass them further. Rustc respects make jobserver, so this causes error - env vars refers to nonexistent file descriptors, which is ignored now.
This PR makes cargo compatible with rust-lang/rust#113730, which attempts to catch such situations.
0 commit comments