summary refs log tree commit diff
path: root/src/bootstrap/lib.rs
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2017-02-03 18:58:47 -0500
committerJorge Aparicio <japaricious@gmail.com>2017-02-08 18:51:43 -0500
commit775a93646cb6db5affff24f2260fb60a7723deba (patch)
tree3ee34bbe42a432a44a0069c69b97d941ba83990a /src/bootstrap/lib.rs
parent9af6aa38895d3c1d263c52984666893b9ca22fe1 (diff)
downloadrust-775a93646cb6db5affff24f2260fb60a7723deba.tar.gz
rust-775a93646cb6db5affff24f2260fb60a7723deba.zip
build/test the sanitizers only when --enable-sanitizers is used
Diffstat (limited to 'src/bootstrap/lib.rs')
-rw-r--r--src/bootstrap/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 21dd4b1520a..1d01b8773ce 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -717,10 +717,6 @@ impl Build {
         }
     }
 
-    fn system_llvm(&self, target: &str) -> bool {
-        self.config.target_config.get(target).map(|t| t.system_llvm).unwrap_or(false)
-    }
-
     /// Returns the path to `FileCheck` binary for the specified target
     fn llvm_filecheck(&self, target: &str) -> PathBuf {
         let target_config = self.config.target_config.get(target);