We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b644a40 commit 1e12538Copy full SHA for 1e12538
src/cargo/core/compiler/build_context/target_info.rs
@@ -185,6 +185,12 @@ impl TargetInfo {
185
.args(&rustflags)
186
.env_remove("RUSTC_LOG");
187
188
+ // Removes `FD_CLOEXEC` set by `jobserver::Client` to pass jobserver
189
+ // as environment variables specify.
190
+ if let Some(client) = config.jobserver_from_env() {
191
+ process.inherit_jobserver(client);
192
+ }
193
+
194
if let CompileKind::Target(target) = kind {
195
process.arg("--target").arg(target.rustc_target());
196
}
0 commit comments