We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d857f6f commit 9a154a9Copy full SHA for 9a154a9
src/bootstrap/test.rs
@@ -1149,17 +1149,14 @@ impl Step for Compiletest {
1149
// requires that a C++ compiler was configured which isn't always the case.
1150
if !builder.config.dry_run && suite == "run-make-fulldeps" {
1151
let llvm_components = output(Command::new(&llvm_config).arg("--components"));
1152
- let llvm_cxxflags = output(Command::new(&llvm_config).arg("--cxxflags"));
1153
cmd.arg("--cc")
1154
.arg(builder.cc(target))
1155
.arg("--cxx")
1156
.arg(builder.cxx(target).unwrap())
1157
.arg("--cflags")
1158
.arg(builder.cflags(target, GitRepo::Rustc).join(" "))
1159
.arg("--llvm-components")
1160
- .arg(llvm_components.trim())
1161
- .arg("--llvm-cxxflags")
1162
- .arg(llvm_cxxflags.trim());
+ .arg(llvm_components.trim());
1163
if let Some(ar) = builder.ar(target) {
1164
cmd.arg("--ar").arg(ar);
1165
}
@@ -1197,8 +1194,6 @@ impl Step for Compiletest {
1197
1194
1198
1195
.arg("")
1199
1196
1200
- .arg("")
1201
1202
.arg("");
1203
1204
src/tools/compiletest/src/common.rs
@@ -319,7 +319,6 @@ pub struct Config {
319
pub ar: String,
320
pub linker: Option<String>,
321
pub llvm_components: String,
322
- pub llvm_cxxflags: String,
323
324
/// Path to a NodeJS executable. Used for JS doctests, emscripten and WASM tests
325
pub nodejs: Option<String>,
src/tools/compiletest/src/header/tests.rs
@@ -45,7 +45,6 @@ fn config() -> Config {
45
"--cxx=c++",
46
"--cflags=",
47
"--llvm-components=",
48
- "--llvm-cxxflags=",
49
"--android-cross-path=",
50
"--target=x86_64-unknown-linux-gnu",
51
];
src/tools/compiletest/src/main.rs
@@ -116,7 +116,6 @@ pub fn parse_config(args: Vec<String>) -> Config {
116
.optopt("", "ar", "path to an archiver", "PATH")
117
.optopt("", "linker", "path to a linker", "PATH")
118
.reqopt("", "llvm-components", "list of LLVM components built in", "LIST")
119
- .reqopt("", "llvm-cxxflags", "C++ flags for LLVM", "FLAGS")
120
.optopt("", "llvm-bin-dir", "Path to LLVM's `bin` directory", "PATH")
121
.optopt("", "nodejs", "the name of nodejs", "PATH")
122
.optopt("", "remote-test-client", "path to the remote test client", "PATH")
@@ -240,7 +239,6 @@ pub fn parse_config(args: Vec<String>) -> Config {
240
239
ar: matches.opt_str("ar").unwrap_or("ar".into()),
241
linker: matches.opt_str("linker"),
242
llvm_components: matches.opt_str("llvm-components").unwrap(),
243
- llvm_cxxflags: matches.opt_str("llvm-cxxflags").unwrap(),
244
nodejs: matches.opt_str("nodejs"),
245
246
src/tools/compiletest/src/runtest.rs
@@ -2651,7 +2651,6 @@ impl<'test> TestCx<'test> {
2651
.env("HOST_RPATH_DIR", cwd.join(&self.config.compile_lib_path))
2652
.env("TARGET_RPATH_DIR", cwd.join(&self.config.run_lib_path))
2653
.env("LLVM_COMPONENTS", &self.config.llvm_components)
2654
- .env("LLVM_CXXFLAGS", &self.config.llvm_cxxflags)
2655
// We for sure don't want these tests to run in parallel, so make
2656
// sure they don't have access to these vars if we run via `make`
2657
// at the top level
0 commit comments