diff --git a/Cargo.toml b/Cargo.toml index 2ec69c92a..35ad04eed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,8 +59,8 @@ serde_json = "1.0.23" termcolor = "1.1.0" textwrap = { version = "0.16.0", default-features = false } -[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator] -version = "0.5.0" +[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.tikv-jemallocator] +version = "0.6.0" [dev-dependencies] serde = "1.0.77" diff --git a/crates/core/main.rs b/crates/core/main.rs index 64f35cebb..ef4fcf7cc 100644 --- a/crates/core/main.rs +++ b/crates/core/main.rs @@ -37,7 +37,7 @@ mod search; // i686. #[cfg(all(target_env = "musl", target_pointer_width = "64"))] #[global_allocator] -static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; +static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; /// Then, as it was, then again it will be. fn main() -> ExitCode {