mirror of
https://github.com/girlbossceo/jemallocator.git
synced 2024-12-03 14:53:05 +00:00
add stats as a default feature to avoid breakage
the stats feature was always enabled by default and never respected if someone were to remove the stats feature as no logic was added for setting `--disable-stats`. to avoid breaking other user's setups who are relying on this behaviour, set stats as a default feature. Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
9c7950e8fe
commit
9924de9da2
|
@ -32,7 +32,7 @@ libc = { version = "^0.2.8", default-features = false }
|
|||
cc = "^1.0.13"
|
||||
|
||||
[features]
|
||||
default = ["background_threads_runtime_support"]
|
||||
default = ["stats", "background_threads_runtime_support"]
|
||||
profiling = []
|
||||
debug = []
|
||||
background_threads_runtime_support = []
|
||||
|
|
|
@ -41,7 +41,7 @@ paste = "1"
|
|||
tikv-jemalloc-ctl = { path = "../jemalloc-ctl", version = "0.5.0" }
|
||||
|
||||
[features]
|
||||
default = ["background_threads_runtime_support"]
|
||||
default = ["stats", "background_threads_runtime_support"]
|
||||
alloc_trait = []
|
||||
profiling = ["tikv-jemalloc-sys/profiling"]
|
||||
debug = ["tikv-jemalloc-sys/debug"]
|
||||
|
|
Loading…
Reference in a new issue