From 8aed1d96c516f3e16722969afaff228cd03e41ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 25 Nov 2019 14:51:47 +0100 Subject: [PATCH] Enable jemalloc only on linux OSs --- meilidb-http/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilidb-http/src/main.rs b/meilidb-http/src/main.rs index e96a447a4..6535a9c10 100644 --- a/meilidb-http/src/main.rs +++ b/meilidb-http/src/main.rs @@ -15,7 +15,7 @@ use meilidb_http::routes::index::index_update_callback; mod analytics; -#[cfg(not(target_os = "macos"))] +#[cfg(target_os = "linux")] #[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;