Skip to content

Commit 3078de7

Browse files
authored
add dry_run check
1 parent 6a94e87 commit 3078de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
17661766
//
17671767
// Note that if we encounter `PATH` we make sure to append to our own `PATH`
17681768
// rather than stomp over it.
1769-
if target.contains("msvc") {
1769+
if !builder.config.dry_run() && target.contains("msvc") {
17701770
for &(ref k, ref v) in builder.cc.borrow()[&target].env() {
17711771
if k != "PATH" {
17721772
cmd.env(k, v);

0 commit comments

Comments
 (0)