default to jemalloc when both hardened_malloc and jemalloc enabled.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-22 19:28:26 +00:00
parent 3a51e18ce6
commit 0e46b750a0
4 changed files with 13 additions and 22 deletions

View file

@ -1,3 +1,5 @@
//! hmalloc allocator
#[global_allocator]
static HMALLOC: hardened_malloc_rs::HardenedMalloc = hardened_malloc_rs::HardenedMalloc;