diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-01-24 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-01-27 12:08:53 +0100 |
| commit | 9a154a94b30baa333fe7399ee6dc2a01f395a27d (patch) | |
| tree | 21efc3066bb98427fcede14a111594370e73a146 /src/tools/compiletest | |
| parent | d857f6f1aba6308cb4458ec1d210f722d55017cb (diff) | |
| download | rust-9a154a94b30baa333fe7399ee6dc2a01f395a27d.tar.gz rust-9a154a94b30baa333fe7399ee6dc2a01f395a27d.zip | |
compiletest: Remove unused llvm-cxxflags option
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/common.rs | 1 | ||||
| -rw-r--r-- | src/tools/compiletest/src/header/tests.rs | 1 | ||||
| -rw-r--r-- | src/tools/compiletest/src/main.rs | 2 | ||||
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/src/tools/compiletest/src/common.rs b/src/tools/compiletest/src/common.rs index 9cc19060cbd..64c0298c1fa 100644 --- a/src/tools/compiletest/src/common.rs +++ b/src/tools/compiletest/src/common.rs @@ -319,7 +319,6 @@ pub struct Config { pub ar: String, pub linker: Option<String>, pub llvm_components: String, - pub llvm_cxxflags: String, /// Path to a NodeJS executable. Used for JS doctests, emscripten and WASM tests pub nodejs: Option<String>, diff --git a/src/tools/compiletest/src/header/tests.rs b/src/tools/compiletest/src/header/tests.rs index b2d4ad382dd..38fa778219d 100644 --- a/src/tools/compiletest/src/header/tests.rs +++ b/src/tools/compiletest/src/header/tests.rs @@ -45,7 +45,6 @@ fn config() -> Config { "--cxx=c++", "--cflags=", "--llvm-components=", - "--llvm-cxxflags=", "--android-cross-path=", "--target=x86_64-unknown-linux-gnu", ]; diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs index 716bfd833d4..a61b9403987 100644 --- a/src/tools/compiletest/src/main.rs +++ b/src/tools/compiletest/src/main.rs @@ -116,7 +116,6 @@ pub fn parse_config(args: Vec<String>) -> Config { .optopt("", "ar", "path to an archiver", "PATH") .optopt("", "linker", "path to a linker", "PATH") .reqopt("", "llvm-components", "list of LLVM components built in", "LIST") - .reqopt("", "llvm-cxxflags", "C++ flags for LLVM", "FLAGS") .optopt("", "llvm-bin-dir", "Path to LLVM's `bin` directory", "PATH") .optopt("", "nodejs", "the name of nodejs", "PATH") .optopt("", "remote-test-client", "path to the remote test client", "PATH") @@ -240,7 +239,6 @@ pub fn parse_config(args: Vec<String>) -> Config { ar: matches.opt_str("ar").unwrap_or("ar".into()), linker: matches.opt_str("linker"), llvm_components: matches.opt_str("llvm-components").unwrap(), - llvm_cxxflags: matches.opt_str("llvm-cxxflags").unwrap(), nodejs: matches.opt_str("nodejs"), } } diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index d1ee60d74e7..7661ac27f02 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2651,7 +2651,6 @@ impl<'test> TestCx<'test> { .env("HOST_RPATH_DIR", cwd.join(&self.config.compile_lib_path)) .env("TARGET_RPATH_DIR", cwd.join(&self.config.run_lib_path)) .env("LLVM_COMPONENTS", &self.config.llvm_components) - .env("LLVM_CXXFLAGS", &self.config.llvm_cxxflags) // We for sure don't want these tests to run in parallel, so make // sure they don't have access to these vars if we run via `make` // at the top level |
