make jemalloc stats an optional feature

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and Jason Volk committed 2024-08-29 19:19:20 +00:00
1 parent 867050df9e
commit 23690fd837
5 files changed
+20 -5

No files matched your search

+5
View File
@@ -32,6 +32,11 @@ jemalloc = [
jemalloc_prof = [
"tikv-jemalloc-sys/profiling",
]
jemalloc_stats = [
"tikv-jemalloc-sys/stats",
"tikv-jemalloc-ctl/stats",
"tikv-jemallocator/stats",
]
hardened_malloc = [
"dep:hardened_malloc-rs"
]