compiletest: escape CXX the same way as CC for MSVC
This commit is contained in:
parent
bd94bf5738
commit
490d05055a
1 changed files with 1 additions and 1 deletions
|
|
@ -2491,7 +2491,7 @@ impl<'test> TestCx<'test> {
|
|||
.env("IS_WINDOWS", "1")
|
||||
.env("MSVC_LIB", format!("'{}' -nologo", lib.display()))
|
||||
.env("CC", format!("'{}' {}", self.config.cc, cflags))
|
||||
.env("CXX", &self.config.cxx);
|
||||
.env("CXX", format!("'{}'", &self.config.cxx));
|
||||
} else {
|
||||
cmd.env("CC", format!("{} {}", self.config.cc, self.config.cflags))
|
||||
.env("CXX", format!("{} {}", self.config.cxx, self.config.cflags))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue