Use tikv-jemallocator instead of jemallocator

`jemallocator` has been abandoned for nearly two years, and `rustc`
itself moved to use `tikv-jemallocator` instead:
3965773ae7

Let's switch to a better maintained version.
This commit is contained in:
Felix Yan 2021-09-10 01:20:46 +03:00
parent 6fafdb7711
commit a57943b77e
No known key found for this signature in database
GPG key ID: 786C63F330D7CB92
3 changed files with 24 additions and 24 deletions

View file

@ -10,7 +10,7 @@ use meilisearch_http::analytics;
#[cfg(target_os = "linux")]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
#[actix_web::main]
async fn main() -> Result<(), MainError> {