From de948b7cb39c6ad4a564ac76dc61286d6f0449b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=BA=9A=E5=9D=A4?= Date: Fri, 15 Apr 2022 12:00:15 +0800 Subject: [PATCH] chore: move jemallocator to cli features --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2ae16cf6..2e5f49f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ rayon = "1.5.1" dashmap = "5.0.0" [target.'cfg(target_os = "macos")'.dependencies] -jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"] } +jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"], optional = true } [dev-dependencies] indoc = "1.0.3" @@ -55,7 +55,7 @@ predicates = "2.1" [features] default = ["grid"] -cli = ["clap", "serde_json", "pathdiff", "browserslist-rs"] +cli = ["clap", "serde_json", "pathdiff", "browserslist-rs", "jemallocator"] grid = [] [[test]]