deps: change alloc to mimalloc

This commit is contained in:
Jun Kurihara 2023-08-18 16:29:45 +09:00
commit 8ecc83fe78
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
3 changed files with 8 additions and 15 deletions

View file

@ -1,9 +1,5 @@
#[cfg(not(target_env = "msvc"))]
use tikv_jemallocator::Jemalloc;
#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
mod cert_file_reader;
mod config;