enable jemalloc assertions when configured to do so
This commit is contained in:
parent
70cac59031
commit
872395a38c
1 changed files with 4 additions and 5 deletions
|
@ -105,11 +105,10 @@ fn main() {
|
||||||
cmd.arg("--with-jemalloc-prefix=je_");
|
cmd.arg("--with-jemalloc-prefix=je_");
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: building with jemalloc assertions is currently broken.
|
if cfg!(feature = "debug") {
|
||||||
// See <https://github.com/rust-lang/rust/issues/44152>.
|
// Enable jemalloc assertions.
|
||||||
//if cfg!(feature = "debug") {
|
cmd.arg("--enable-debug");
|
||||||
// cmd.arg("--enable-debug");
|
}
|
||||||
//}
|
|
||||||
|
|
||||||
cmd.arg(format!("--host={}", build_helper::gnu_target(&target)));
|
cmd.arg(format!("--host={}", build_helper::gnu_target(&target)));
|
||||||
cmd.arg(format!("--build={}", build_helper::gnu_target(&host)));
|
cmd.arg(format!("--build={}", build_helper::gnu_target(&host)));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue