Skip to content

Commit

Permalink
Merge pull request #159 from Emilgardis/cargo_build_target
Browse files Browse the repository at this point in the history
set `CARGO_BUILD_TARGET` in bisect run
  • Loading branch information
oli-obk authored Jun 20, 2022
2 parents ab94c3b + 606e80d commit 06955a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/toolchains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ impl Toolchain {
};
cmd.current_dir(&cfg.args.test_dir);
cmd.env("CARGO_TARGET_DIR", format!("target-{}", self.rustup_name()));
cmd.env("CARGO_BUILD_TARGET", &cfg.target);

// let `cmd` capture stderr for us to process afterward.
let must_capture_output = cfg.args.regress.must_process_stderr();
Expand Down

0 comments on commit 06955a4

Please sign in to comment.