summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2019-05-10 10:52:40 +0200
committerCanop <cano.petrole@gmail.com>2019-05-10 10:52:40 +0200
commite4d0886af013290a4d42f0c2a0e2cff1543652f7 (patch)
tree2f095778a0a7f235feaf2aad828f2f4da461c51e /src/main.rs
parent190cd280d1d7de884853eaf1e0f6471bbad7f5c3 (diff)
disable the Jemaloc allocator on windows
Fix #56
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 3999eef..b2d9961 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,4 @@
+#[cfg(unix)]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;