gate jemalloc behind musl

This commit is contained in:
Robin Appelman 2025-03-25 23:40:08 +01:00
commit c1200c5676
3 changed files with 5 additions and 4 deletions

View file

@ -23,11 +23,11 @@ mod matcher;
mod timegraph;
mod ui;
#[cfg(not(target_os = "windows"))]
#[cfg(target_env = "musl")]
use tikv_jemallocator::Jemalloc;
use time::format_description::{parse_owned, parse_strftime_owned};
#[cfg(not(target_os = "windows"))]
#[cfg(target_env = "musl")]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;