Skip to content

Commit

Permalink
remove jobserver-related env vars on target info acquiring
Browse files Browse the repository at this point in the history
  • Loading branch information
belovdv committed Aug 4, 2023
1 parent bfb0d19 commit 8a97ce2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cargo/core/compiler/build_context/target_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ impl TargetInfo {
.arg("___")
.arg("--print=file-names")
.args(&rustflags)
.env_remove("CARGO_MAKEFLAGS")
.env_remove("MAKEFLAGS")
.env_remove("MFLAGS")
.env_remove("RUSTC_LOG");

if let CompileKind::Target(target) = kind {
Expand Down

0 comments on commit 8a97ce2

Please sign in to comment.