mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
pass jobserver on fix proxy rustc
This commit is contained in:
parent
bfb0d197d2
commit
e84fd16caa
@ -447,6 +447,11 @@ pub fn fix_exec_rustc(config: &Config, lock_addr: &str) -> CargoResult<()> {
|
||||
// things like colored output to work correctly.
|
||||
rustc.arg(arg);
|
||||
}
|
||||
// Removes `FD_CLOEXEC` set by `jobserver::Client` to pass jobserver
|
||||
// as environment variables specify.
|
||||
if let Some(client) = config.jobserver_from_env() {
|
||||
rustc.inherit_jobserver(client);
|
||||
}
|
||||
debug!("calling rustc to display remaining diagnostics: {rustc}");
|
||||
exit_with(rustc.status()?);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user