Skip to content

Commit 06955a4

Browse files
authored
Merge pull request #159 from Emilgardis/cargo_build_target
set `CARGO_BUILD_TARGET` in bisect run
2 parents ab94c3b + 606e80d commit 06955a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/toolchains.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ impl Toolchain {
278278
};
279279
cmd.current_dir(&cfg.args.test_dir);
280280
cmd.env("CARGO_TARGET_DIR", format!("target-{}", self.rustup_name()));
281+
cmd.env("CARGO_BUILD_TARGET", &cfg.target);
281282

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

0 commit comments

Comments
 (0)