]> git.lizzy.rs Git - rust.git/commitdiff
Fix alloc_jemalloc debug feature
authorRalf Jung <post@ralfj.de>
Fri, 4 Aug 2017 06:39:23 +0000 (23:39 -0700)
committerRalf Jung <post@ralfj.de>
Tue, 29 Aug 2017 14:10:13 +0000 (16:10 +0200)
At least, I think that's how it should be.  'debug' is how the feature is called in Cargo.toml.

src/liballoc_jemalloc/build.rs

index 41193f6a41f89a434fb6f1537987739622851674..2a8af60be007bc985034be321a3d2291a92eee01 100644 (file)
@@ -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");
     }