compiletest: escape CXX the same way as CC for MSVC
This commit is contained in:
parent
55dab7c820
commit
665d6673d5
1 changed files with 1 additions and 1 deletions
|
|
@ -2529,7 +2529,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