From e2177db5815ae8deca3c4b62fd3ee1932c218a7e Mon Sep 17 00:00:00 2001 From: Gert Hulselmans Date: Thu, 13 Jan 2022 02:46:25 +0100 Subject: [PATCH] Switch to maintained version of jemallocator. Switch to maintained version of jemallocator like rustc did in: https://github.com/rust-lang/rust/pull/83152 --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 31665da9..19bbb3bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ regex-syntax = "0.6.25" itoa = "1.0" ryu = "1.0" libc = "0.2" -jemallocator = { version = "0.3", optional = true } +tikv-jemallocator = { version = "0.4", optional = true } rand = "0.8.4" lalrpop-util = "0.19.6" unicode-xid = "0.2.2" @@ -55,7 +55,7 @@ tempfile = "3.3" [features] default = ["use_jemalloc", "allow_avx2", "llvm_backend", "unstable"] -use_jemalloc = ["jemallocator"] +use_jemalloc = ["tikv-jemallocator"] # Certain features leverage the AVX2 instruction set, but AVX2 can often make # the entire application slightly slower, even on chips that support it. For # those cases, consider disabling allow_avx2.