mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
fix windows build
This commit is contained in:
parent
2f1d8bbf20
commit
96a5b6afff
2 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ base64 = "0.21.7"
|
|||
derive_more = { version = "1.0.0-beta.6", features = ["from"] }
|
||||
rayon = "1.10.0"
|
||||
|
||||
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||
tikv-jemallocator = "0.6.0"
|
||||
|
||||
[profile.dev.package."*"]
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@ mod matcher;
|
|||
mod timegraph;
|
||||
mod ui;
|
||||
|
||||
#[cfg(not(target_env = "msvc"))]
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
use tikv_jemallocator::Jemalloc;
|
||||
|
||||
#[cfg(not(target_env = "msvc"))]
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[global_allocator]
|
||||
static GLOBAL: Jemalloc = Jemalloc;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue