about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2017-08-03 23:39:23 -0700
committerRalf Jung <post@ralfj.de>2017-08-29 16:10:13 +0200
commit7d9e26f78805c7363744e439d5734d6f4a3e033e (patch)
tree774190b5779d5b915c20a31145fe37e12502b45e
parenta12e4f8098438cbfa65361647742e3c026574cb5 (diff)
downloadrust-7d9e26f78805c7363744e439d5734d6f4a3e033e.tar.gz
rust-7d9e26f78805c7363744e439d5734d6f4a3e033e.zip
Fix alloc_jemalloc debug feature
At least, I think that's how it should be.  'debug' is how the feature is called in Cargo.toml.
-rw-r--r--src/liballoc_jemalloc/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs
index 41193f6a41f..2a8af60be00 100644
--- a/src/liballoc_jemalloc/build.rs
+++ b/src/liballoc_jemalloc/build.rs
@@ -111,7 +111,7 @@ fn main() {
         cmd.arg("--with-jemalloc-prefix=je_");
     }
 
-    if cfg!(feature = "debug-jemalloc") {
+    if cfg!(feature = "debug") {
         cmd.arg("--enable-debug");
     }