Skip to content

Commit

Permalink
Don't pass the environment variable CARGO_TARGET_DIR through to cargo…
Browse files Browse the repository at this point in the history
… as doing so breaks assumptions about where stuff gets put. Probably fixes #69
  • Loading branch information
davidlattimore committed Nov 19, 2019
1 parent 4900a91 commit dd41f47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evcxr/src/module.rs
Expand Up @@ -167,6 +167,7 @@ impl Module {
.arg("--")
.arg("-C")
.arg("prefer-dynamic")
.env_remove("CARGO_TARGET_DIR")
.current_dir(self.crate_dir());
if let Some(sccache) = &self.sccache {
command.env("RUSTC_WRAPPER", sccache);
Expand Down

0 comments on commit dd41f47

Please sign in to comment.