mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
Avoid jemallocator on BSD (#2957)
This commit is contained in:
parent
2a744d24e5
commit
fdcb78fd8c
2 changed files with 3 additions and 3 deletions
|
@ -66,8 +66,8 @@ ureq = { version = "2.5.0", features = [] }
|
|||
[package.metadata.maturin]
|
||||
name = "ruff"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
mimalloc = "0.1.29"
|
||||
|
||||
[target.'cfg(all(not(windows), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
|
||||
[target.'cfg(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
|
||||
tikv-jemallocator = "0.5.0"
|
||||
|
|
|
@ -29,7 +29,7 @@ mod resolve;
|
|||
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
#[cfg(all(
|
||||
not(target_os = "windows"),
|
||||
any(target_os = "linux", target_os = "macos"),
|
||||
any(
|
||||
target_arch = "x86_64",
|
||||
target_arch = "aarch64",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue