From 7d9e26f78805c7363744e439d5734d6f4a3e033e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 3 Aug 2017 23:39:23 -0700 Subject: [PATCH] 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. --- src/liballoc_jemalloc/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }