termux-packages/packages/fd/src-main.rs.patch

13 lines
550 B
Diff
Raw Normal View History

2020-04-19 00:49:28 +02:00
diff -u -r ../fd-8.0.0/src/main.rs ./src/main.rs
--- ../fd-8.0.0/src/main.rs 2020-04-16 08:11:05.000000000 +0000
+++ ./src/main.rs 2020-04-18 22:36:31.485685000 +0000
@@ -30,7 +30,7 @@
use crate::regex_helper::pattern_has_uppercase_char;
2019-09-17 21:41:15 +02:00
2020-04-19 00:49:28 +02:00
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
2019-09-17 21:41:15 +02:00
-#[cfg(all(not(windows), not(target_env = "musl")))]
2020-04-19 00:49:28 +02:00
+#[cfg(all(not(windows), not(target_env = "musl"), not(target_os = "android")))]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;