about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2017-08-29 16:09:38 +0200
committerRalf Jung <post@ralfj.de>2017-08-29 16:10:13 +0200
commit16fc74c6a2da63264a8477c84e34291bab10dd29 (patch)
treeefb9a107182a8087d029774598a6af8ada595c6d
parent7d9e26f78805c7363744e439d5734d6f4a3e033e (diff)
downloadrust-16fc74c6a2da63264a8477c84e34291bab10dd29.tar.gz
rust-16fc74c6a2da63264a8477c84e34291bab10dd29.zip
give up on trying to fix the assertion failure
-rw-r--r--src/liballoc_jemalloc/build.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs
index 2a8af60be00..c9bea2ecf5e 100644
--- a/src/liballoc_jemalloc/build.rs
+++ b/src/liballoc_jemalloc/build.rs
@@ -111,9 +111,11 @@ fn main() {
         cmd.arg("--with-jemalloc-prefix=je_");
     }
 
-    if cfg!(feature = "debug") {
-        cmd.arg("--enable-debug");
-    }
+    // FIXME: building with jemalloc assertions is currently broken.
+    // See <https://github.com/rust-lang/rust/issues/44152>.
+    //if cfg!(feature = "debug") {
+    //    cmd.arg("--enable-debug");
+    //}
 
     cmd.arg(format!("--host={}", build_helper::gnu_target(&target)));
     cmd.arg(format!("--build={}", build_helper::gnu_target(&host)));