Skip to content
Myr

Do not use jemalloc on Illumos

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix for #1741: jemalloc doesn't build on Illumos, so add it to the list of excluded platforms.

authored by Neal S · committed by Neal S · parent ba35c5e · Browse files · 2 files+6 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−1 removed

  • other:+6 added−1 removed

2 files+6 added−1 removed

modified:src/main.rs+3 added
34 unmodified lines
35use crate::regex_helper::{pattern_has_uppercase_char, pattern_matches_strings_with_leading_dot};3637// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/48138// FIXME: re-enable jemalloc on macOS, see comment in Cargo.toml file for more infos39// This has to be kept in sync with the Cargo.toml file section that declares a40// dependency on tikv-jemallocator.41#[cfg(all(42 not(windows),43 not(target_os = "android"),44 not(target_os = "macos"),45 not(target_os = "freebsd"),46 not(target_os = "openbsd"),47 not(target_os = "illumos"),48 not(all(target_env = "musl", target_pointer_width = "32")),49 not(target_arch = "riscv64"),50 feature = "use-jemalloc"51))]
440 unmodified lines
modified:Cargo.toml+3 added-1 removed