mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
gate jemalloc behind musl
This commit is contained in:
parent
f7ed810253
commit
c1200c5676
3 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue