make jemalloc dependency really optional (#101)
Signed-off-by: Sebastien Marie <semarie@online.fr>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
//! the state_compressor_state table so that the compressor can seemlesly
|
||||
//! continue from where it left off.
|
||||
|
||||
#[cfg(feature = "jemalloc")]
|
||||
#[global_allocator]
|
||||
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user