Skip to content

Commit e101a1b

Browse files
committed
Avoid warning about the jobserver fd not being open for recursive rustc calls for inline asm
Fixes #1437
1 parent 39f0dac commit e101a1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/global_asm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ pub(crate) fn compile_global_asm(
154154
}
155155
} else {
156156
let mut child = Command::new(std::env::current_exe().unwrap())
157+
// Avoid a warning about the jobserver fd not being passed
158+
.env_remove("CARGO_MAKEFLAGS")
157159
.arg("--target")
158160
.arg(&config.target)
159161
.arg("--crate-type")

0 commit comments

Comments
 (0)