mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
Enable jemalloc on FreeBSD and NetBSD (#2965)
This commit is contained in:
parent
5157f584ab
commit
750c28868f
2 changed files with 3 additions and 2 deletions
|
@ -66,5 +66,5 @@ name = "ruff"
|
|||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
mimalloc = "0.1.29"
|
||||
|
||||
[target.'cfg(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
|
||||
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
|
||||
tikv-jemallocator = "0.5.0"
|
||||
|
|
|
@ -29,7 +29,8 @@ mod resolve;
|
|||
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
#[cfg(all(
|
||||
any(target_os = "linux", target_os = "macos"),
|
||||
not(target_os = "windows"),
|
||||
not(target_os = "openbsd"),
|
||||
any(
|
||||
target_arch = "x86_64",
|
||||
target_arch = "aarch64",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue