Skip to content

Commit d00a59c

Browse files
Add new MSVC_LIB_PATH runtest environment variable to know location of the msvc_lib binary
1 parent a83cf56 commit d00a59c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/runtest.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3369,6 +3369,7 @@ 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()))
33723373
.env("CC", format!("'{}' {}", self.config.cc, cflags))
33733374
.env("CXX", format!("'{}' {}", &self.config.cxx, cxxflags));
33743375
} else {

0 commit comments

Comments
 (0)