feat: Add mimalloc support, drop hardened_malloc

This commit is contained in:
timedout authored and Jade Ellis committed 2026-11-21 15:21:54 +00:00
1 parent 68068574d3
commit d4ac77a023
8 files changed
+44 -68

No files matched your search

+3 -3
View File
@@ -43,10 +43,10 @@ pub fn check(config: &Config) -> Result {
));
}
if cfg!(all(feature = "hardened_malloc", feature = "jemalloc", not(target_env = "msvc"))) {
if cfg!(all(feature = "mimalloc", feature = "jemalloc")) {
debug_warn!(
"hardened_malloc and jemalloc compile-time features are both enabled, this causes \
jemalloc to be used."
"mimalloc and jemalloc compile-time features are both enabled, this causes jemalloc \
to be used."
);
}