Skip to content

Commit

Permalink
set CARGO_BUILD_TARGET in bisect run
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed Jun 16, 2022
1 parent ab94c3b commit 606e80d
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 606e80d

Please sign in to comment.