mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
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.
This commit is contained in:
parent
a12e4f8098
commit
7d9e26f788
@ -111,7 +111,7 @@ fn main() {
|
|||||||
cmd.arg("--with-jemalloc-prefix=je_");
|
cmd.arg("--with-jemalloc-prefix=je_");
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg!(feature = "debug-jemalloc") {
|
if cfg!(feature = "debug") {
|
||||||
cmd.arg("--enable-debug");
|
cmd.arg("--enable-debug");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user