We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70cac59 commit 872395aCopy full SHA for 872395a
src/liballoc_jemalloc/build.rs
@@ -105,11 +105,10 @@ fn main() {
105
cmd.arg("--with-jemalloc-prefix=je_");
106
}
107
108
- // FIXME: building with jemalloc assertions is currently broken.
109
- // See <https://github.com/rust-lang/rust/issues/44152>.
110
- //if cfg!(feature = "debug") {
111
- // cmd.arg("--enable-debug");
112
- //}
+ if cfg!(feature = "debug") {
+ // Enable jemalloc assertions.
+ cmd.arg("--enable-debug");
+ }
113
114
cmd.arg(format!("--host={}", build_helper::gnu_target(&target)));
115
cmd.arg(format!("--build={}", build_helper::gnu_target(&host)));
0 commit comments