Skip to content

Commit d5d9c35

Browse files
committed
Auto merge of #13072 - belovdv:jobserver-remove-env-var, r=weihanglo
remove jobserver env var in some tests This PR makes cargo compatible with [rust-lang/rust#113730](rust-lang/rust#113730). Linked [comment](rust-lang/rust#113730 (comment)). Problem to be fixed: shim for cargo fix spawns rustc with make environment variable inherited, which points to closed jobserver. r? `@weihanglo`
2 parents bec67ed + 6b86f93 commit d5d9c35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testsuite/fix.rs

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ fn rustc_shim_for_cargo_fix() -> Project {
110110
}
111111
let status = Command::new("rustc")
112112
.args(env::args().skip(1))
113+
.env_remove("CARGO_MAKEFLAGS")
113114
.status()
114115
.expect("failed to run rustc");
115116
process::exit(status.code().unwrap_or(2));

0 commit comments

Comments
 (0)