5 | 5 |
|
6 | 6 |
[build-dependencies.version_check]
|
7 | 7 |
version = "0.9"
|
8 | |
-[target."cfg(all(not(windows), not(target_os = \"macos\"), not(target_env = \"musl\")))".dependencies.jemallocator]
|
|
8 |
-[target."cfg(all(not(windows), not(target_os = \"android\"), not(target_os = \"macos\"), not(target_env = \"musl\")))".dependencies.jemallocator]
|
9 | 9 |
-version = "0.3.0"
|
10 | |
+#[target."cfg(all(not(windows), not(target_os = \"macos\"), not(target_env = \"musl\")))".dependencies.jemallocator]
|
|
10 |
+#[target."cfg(all(not(windows), not(target_os = \"android\"), not(target_os = \"macos\"), not(target_env = \"musl\")))".dependencies.jemallocator]
|
11 | 11 |
+#version = "0.3.0"
|
12 | 12 |
[target."cfg(all(unix, not(target_os = \"redox\")))".dependencies.libc]
|
13 | 13 |
version = "0.2"
|
|
16 | 16 |
===================================================================
|
17 | 17 |
--- fd-find.orig/src/main.rs
|
18 | 18 |
+++ fd-find/src/main.rs
|
19 | |
@@ -34,9 +34,9 @@ use crate::regex_helper::pattern_has_upp
|
|
19 |
@@ -34,14 +34,14 @@ use crate::regex_helper::{pattern_has_up
|
20 | 20 |
|
21 | 21 |
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
|
22 | 22 |
// FIXME: re-enable jemalloc on macOS, see comment in Cargo.toml file for more infos
|
23 | |
-#[cfg(all(not(windows), not(target_os = "macos"), not(target_env = "musl")))]
|
|
23 |
-#[cfg(all(
|
|
24 |
- not(windows),
|
|
25 |
- not(target_os = "android"),
|
|
26 |
- not(target_os = "macos"),
|
|
27 |
- not(target_env = "musl")
|
|
28 |
-))]
|
24 | 29 |
-#[global_allocator]
|
25 | 30 |
-static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
26 | |
+//#[cfg(all(not(windows), not(target_os = "macos"), not(target_env = "musl")))]
|
27 | |
+//#[global_allocator]
|
28 | |
+//static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
|
31 |
+// #[cfg(all(
|
|
32 |
+// not(windows),
|
|
33 |
+// not(target_os = "android"),
|
|
34 |
+// not(target_os = "macos"),
|
|
35 |
+// not(target_env = "musl")
|
|
36 |
+// ))]
|
|
37 |
+// #[global_allocator]
|
|
38 |
+// static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
29 | 39 |
|
30 | |
fn run() -> Result<ExitCode> {
|
31 | |
let matches = app::build_app().get_matches_from(env::args_os());
|
|
40 |
// vivid --color-mode 8-bit generate molokai
|
|
41 |
const DEFAULT_LS_COLORS: &str = "
|