Skip to content

Commit 56699f9

Browse files
Add missing MSVC_LIB_PATH env var
1 parent 36aba94 commit 56699f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3369,7 +3369,6 @@ impl<'test> TestCx<'test> {
33693369
cmd.env("IS_MSVC", "1")
33703370
.env("IS_WINDOWS", "1")
33713371
.env("MSVC_LIB", format!("'{}' -nologo", lib.display()))
3372-
.env("MSVC_LIB_PATH", format!("{}", lib.display()))
33733372
.env("CC", format!("'{}' {}", self.config.cc, cflags))
33743373
.env("CXX", format!("'{}' {}", &self.config.cxx, cxxflags));
33753374
} else {
@@ -3633,6 +3632,7 @@ impl<'test> TestCx<'test> {
36333632
cmd.env("IS_MSVC", "1")
36343633
.env("IS_WINDOWS", "1")
36353634
.env("MSVC_LIB", format!("'{}' -nologo", lib.display()))
3635+
.env("MSVC_LIB_PATH", format!("{}", lib.display()))
36363636
// Note: we diverge from legacy run_make and don't lump `CC` the compiler and
36373637
// default flags together.
36383638
.env("CC_DEFAULT_FLAGS", &cflags)

0 commit comments

Comments
 (0)