mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-28 19:37:32 +00:00
fix: Use mimalloc for c/c++ code by default
This commit is contained in:
4 files changed
+6
-11
No files matched your search
@@ -31,9 +31,13 @@ jemalloc = [
|
||||
"dep:tikv-jemalloc-ctl",
|
||||
"dep:tikv-jemallocator",
|
||||
]
|
||||
# Uses mimalloc for Rust allocations and, via `override`, exports
|
||||
# malloc/free/etc. so C/C++ dependencies (RocksDB, zstd, lz4, ...) use it too.
|
||||
# Mutually exclusive with `jemalloc` on non-MSVC targets.
|
||||
mimalloc = [
|
||||
"dep:libmimalloc-sys",
|
||||
"dep:mimalloc",
|
||||
"libmimalloc-sys/override",
|
||||
]
|
||||
jemalloc_conf = []
|
||||
jemalloc_prof = [
|
||||
|
||||
Reference in new issue
Block a user