From b12d6e4bedb89f264881d1f3f599ffa6064a7523 Mon Sep 17 00:00:00 2001 From: Omer Ben-Amram Date: Sat, 3 Aug 2024 16:15:57 +0300 Subject: [PATCH] fix for musl --- src/bin/evtx_dump.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/evtx_dump.rs b/src/bin/evtx_dump.rs index 3e4b0a4c..e4abb568 100644 --- a/src/bin/evtx_dump.rs +++ b/src/bin/evtx_dump.rs @@ -16,10 +16,10 @@ use std::ops::RangeInclusive; use std::path::{Path, PathBuf}; use std::str::FromStr; -#[cfg(not(target_env = "msvc"))] +#[cfg(all(not(target_env = "msvc"), feature = "fast-alloc"))] use tikv_jemallocator::Jemalloc; -#[cfg(not(target_env = "msvc"))] +#[cfg(all(not(target_env = "msvc"), feature = "fast-alloc"))] #[global_allocator] static GLOBAL: Jemalloc = Jemalloc;