docs(main): Clarify mimalloc feature scope and jemalloc precedence

This commit is contained in:
Jade Ellis committed 2026-11-21 15:21:55 +00:00
1 parent 6df7dda329
commit c6b9854c49
1 file changed
+5 -1
+5 -1
View File
@@ -112,8 +112,12 @@ 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"
"conduwuit-core/mimalloc",
]
jemalloc_prof = [
"conduwuit-core/jemalloc_prof",