Skip to content

Commit

Permalink
Unset RUSTC_WRAPPER only where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Feb 25, 2022
1 parent 5701ebd commit f7dd3f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmd/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ fn exec_cargo_dylint(crate_metadata: &CrateMetadata, verbosity: Verbosity) -> Re
// removing this env variable we avoid issues with different Rust toolchains
// interfering with each other.
("CARGO_TARGET_DIR", None),
// needed until https://github.com/mozilla/sccache/issues/1000 is fixed.
("RUSTC_WRAPPER", None),
];
let working_dir = crate_metadata
.manifest_path
Expand Down

0 comments on commit f7dd3f9

Please sign in to comment.