From 1e3bb58ec527fc8b0e0dbd9628c9dabf8193f69e Mon Sep 17 00:00:00 2001 From: chuoru Date: Wed, 14 Aug 2024 17:30:16 +0900 Subject: [PATCH] :bug: modify cargo.toml for windows environments --- Cargo.toml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae50f398..ab29b38c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -94,12 +94,6 @@ rpmalloc = { version = "0.2", features = [ "statistics", ], optional = true } -# jemallocator is an optional feature; it will only be loaded if the feature -# `jem` is used (i.e., if we compile with `cargo build --features jem`) -[target.'cfg(not(target_env = "msvc"))'.dependencies] -jemallocator = { version = "0.5", optional = true } - - # computation of roots of cubic equation needed for the projection on the # epigraph of the squared Euclidean norm roots = "0.0.8" @@ -108,6 +102,10 @@ roots = "0.0.8" ndarray = { version = "0.15", features = ["approx"] } modcholesky = "0.1" +# jemallocator is an optional feature; it will only be loaded if the feature +# `jem` is used (i.e., if we compile with `cargo build --features jem`) +[target.'cfg(not(target_env = "msvc"))'.dependencies] +jemallocator = { version = "0.5", optional = true } # -------------------------------------------------------------------------- # F.E.A.T.U.R.E.S.