We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b4849 commit f962244Copy full SHA for f962244
Cargo.toml
@@ -33,6 +33,8 @@ regex = "1.5.4"
33
flate2 = "1.0"
34
dashmap = { version = "6.0.1", features = ["rayon"] }
35
num_cpus = "1.13.1"
36
+
37
+[target.'cfg(not(target_env = "msvc"))'.dependencies]
38
jemallocator = "0.5.4"
39
40
[dev-dependencies]
src/bin/kun.rs
@@ -17,6 +17,7 @@ use kun_peng::utils::find_files;
17
use std::path::PathBuf;
18
use std::time::Instant;
19
20
+#[cfg(not(target_env = "msvc"))]
21
#[global_allocator]
22
static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;
23
0 commit comments