mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-27 02:47:33 +00:00
feat: Add mimalloc support, drop hardened_malloc
This commit is contained in:
1 parent
68068574d3
commit
d4ac77a023
8 files changed
+44
-68
No files matched your search
@@ -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."
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user