diff options
author | Canop <cano.petrole@gmail.com> | 2019-05-10 10:52:40 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2019-05-10 10:52:40 +0200 |
commit | e4d0886af013290a4d42f0c2a0e2cff1543652f7 (patch) | |
tree | 2f095778a0a7f235feaf2aad828f2f4da461c51e /src/main.rs | |
parent | 190cd280d1d7de884853eaf1e0f6471bbad7f5c3 (diff) |
disable the Jemaloc allocator on windows
Fix #56
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
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; |