Avoid warning about the jobserver fd not being open for recursive rustc calls for inline asm
Fixes rust-lang/rustc_codegen_cranelift#1437
This commit is contained in:
parent
39f0dac77d
commit
e101a1bbb7
@ -154,6 +154,8 @@ pub(crate) fn compile_global_asm(
|
||||
}
|
||||
} else {
|
||||
let mut child = Command::new(std::env::current_exe().unwrap())
|
||||
// Avoid a warning about the jobserver fd not being passed
|
||||
.env_remove("CARGO_MAKEFLAGS")
|
||||
.arg("--target")
|
||||
.arg(&config.target)
|
||||
.arg("--crate-type")
|
||||
|
Loading…
Reference in New Issue
Block a user