Skip to content

Commit 606e80d

Browse files
committed
set CARGO_BUILD_TARGET in bisect run
1 parent ab94c3b commit 606e80d

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)