Skip to content
Myr

Disable jemallocator on Windows

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

authored by sharkdp · committed by David Peter · parent 5a15486 · Browse files · 1 file+2 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

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:src/main.rs+2 added-1 removed
33 unmodified lines
34 opts::FdOptions,35 pattern_has_uppercase_char, transform_args_with_exec, FileTypes,36};3738// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/48038// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/48139#[cfg(not(windows))]40#[global_allocator]41static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;4243fn main() {
240 unmodified lines