We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f118b9 commit d292e12Copy full SHA for d292e12
src/tools/compiletest/src/runtest.rs
@@ -2175,6 +2175,10 @@ actual:\n\
2175
.env("LLVM_COMPONENTS", &self.config.llvm_components)
2176
.env("LLVM_CXXFLAGS", &self.config.llvm_cxxflags);
2177
2178
+ // We don't want RUSTFLAGS set from the outside to interfere with
2179
+ // compiler flags set in the test cases:
2180
+ cmd.env_remove("RUSTFLAGS");
2181
+
2182
if self.config.target.contains("msvc") {
2183
// We need to pass a path to `lib.exe`, so assume that `cc` is `cl.exe`
2184
// and that `lib.exe` lives next to it.
0 commit comments