compiletest: escape CXX the same way as CC for MSVC
This commit is contained in:
parent
55dab7c820
commit
665d6673d5
@ -2529,7 +2529,7 @@ fn run_rmake_test(&self) {
|
||||
.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…
Reference in New Issue
Block a user