fix: Use mimalloc for c/c++ code by default

This commit is contained in:
Jade Ellis committed 2026-11-21 15:21:56 +00:00
1 parent 43cf8cccdf
commit d4aec6ca5c
4 files changed
+6 -11

No files matched your search

-4
View File
@@ -112,10 +112,6 @@ jemalloc = [
"conduwuit-core/jemalloc",
"conduwuit-service/jemalloc",
]
# Sets Rust's #[global_allocator] to mimalloc (C/C++ libraries such as RocksDB
# still use system libc malloc). On non-MSVC targets, `jemalloc` takes
# precedence if both are enabled, so build with `--no-default-features` and
# omit `jemalloc`/`standard` to use mimalloc.
mimalloc = [
"conduwuit-core/mimalloc",
]