about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-03-08 13:00:13 +0000
committerbors <bors@rust-lang.org>2017-03-08 13:00:13 +0000
commitee60afa09465cedfa08be04e59b6a8ccfd54685f (patch)
tree538d92faf2d33667830a7e91b4e06abeef514a43 /src
parentf91c3f675517ed9676085d75d682f393b4108f96 (diff)
parent28baa27570a80f7e8e248bf8ca1dbbea6cd1ecba (diff)
downloadrust-ee60afa09465cedfa08be04e59b6a8ccfd54685f.tar.gz
rust-ee60afa09465cedfa08be04e59b6a8ccfd54685f.zip
Auto merge of #39860 - japaric:san, r=alexcrichton
cleanup: remove the *san Cargo features from std

these belong to a previous iteration of the sanitizer implementation

r? @alexcrichton
cc @whitequark
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/lib.rs2
-rw-r--r--src/librustc_asan/Cargo.toml1
-rw-r--r--src/librustc_lsan/Cargo.toml1
-rw-r--r--src/librustc_msan/Cargo.toml1
-rw-r--r--src/librustc_tsan/Cargo.toml1
-rw-r--r--src/libstd/Cargo.toml12
6 files changed, 9 insertions, 9 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 98b68d870d3..071d0b0b090 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -613,7 +613,7 @@ impl Build {
     /// Get the space-separated set of activated features for the standard
     /// library.
     fn std_features(&self) -> String {
-        let mut features = "panic-unwind asan lsan msan tsan".to_string();
+        let mut features = "panic-unwind".to_string();
 
         if self.config.debug_jemalloc {
             features.push_str(" debug-jemalloc");
diff --git a/src/librustc_asan/Cargo.toml b/src/librustc_asan/Cargo.toml
index 2d4872b1fc9..0fda2805fea 100644
--- a/src/librustc_asan/Cargo.toml
+++ b/src/librustc_asan/Cargo.toml
@@ -7,6 +7,7 @@ version = "0.0.0"
 [lib]
 name = "rustc_asan"
 path = "lib.rs"
+test = false
 
 [build-dependencies]
 build_helper = { path = "../build_helper" }
diff --git a/src/librustc_lsan/Cargo.toml b/src/librustc_lsan/Cargo.toml
index bc1f2ead768..786883d2135 100644
--- a/src/librustc_lsan/Cargo.toml
+++ b/src/librustc_lsan/Cargo.toml
@@ -7,6 +7,7 @@ version = "0.0.0"
 [lib]
 name = "rustc_lsan"
 path = "lib.rs"
+test = false
 
 [build-dependencies]
 build_helper = { path = "../build_helper" }
diff --git a/src/librustc_msan/Cargo.toml b/src/librustc_msan/Cargo.toml
index 45cc6b9839f..b3b70bc0a25 100644
--- a/src/librustc_msan/Cargo.toml
+++ b/src/librustc_msan/Cargo.toml
@@ -7,6 +7,7 @@ version = "0.0.0"
 [lib]
 name = "rustc_msan"
 path = "lib.rs"
+test = false
 
 [build-dependencies]
 build_helper = { path = "../build_helper" }
diff --git a/src/librustc_tsan/Cargo.toml b/src/librustc_tsan/Cargo.toml
index 66d6236361e..97c1181e3a2 100644
--- a/src/librustc_tsan/Cargo.toml
+++ b/src/librustc_tsan/Cargo.toml
@@ -7,6 +7,7 @@ version = "0.0.0"
 [lib]
 name = "rustc_tsan"
 path = "lib.rs"
+test = false
 
 [build-dependencies]
 build_helper = { path = "../build_helper" }
diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml
index 2ba7517d3d2..46511452a72 100644
--- a/src/libstd/Cargo.toml
+++ b/src/libstd/Cargo.toml
@@ -24,22 +24,18 @@ std_unicode = { path = "../libstd_unicode" }
 unwind = { path = "../libunwind" }
 
 [target.x86_64-unknown-linux-gnu.dependencies]
-rustc_asan = { path = "../librustc_asan", optional = true }
-rustc_lsan = { path = "../librustc_lsan", optional = true }
-rustc_msan = { path = "../librustc_msan", optional = true }
-rustc_tsan = { path = "../librustc_tsan", optional = true }
+rustc_asan = { path = "../librustc_asan" }
+rustc_lsan = { path = "../librustc_lsan" }
+rustc_msan = { path = "../librustc_msan" }
+rustc_tsan = { path = "../librustc_tsan" }
 
 [build-dependencies]
 build_helper = { path = "../build_helper" }
 gcc = "0.3.27"
 
 [features]
-asan = ["rustc_asan"]
 backtrace = []
 debug-jemalloc = ["alloc_jemalloc/debug"]
 jemalloc = ["alloc_jemalloc"]
 force_alloc_system = []
-lsan = ["rustc_lsan"]
-msan = ["rustc_msan"]
 panic-unwind = ["panic_unwind"]
-tsan = ["rustc_tsan"]