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

13 lines
649 B
Diff
Raw Normal View History

2020-05-25 23:15:52 +02:00
diff -uNr fd-8.1.1/src/main.rs fd-8.1.1.mod/src/main.rs
--- fd-8.1.1/src/main.rs 2020-05-25 16:38:30.000000000 +0300
+++ fd-8.1.1.mod/src/main.rs 2020-05-26 00:15:13.833867073 +0300
@@ -34,7 +34,7 @@
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
2020-05-25 23:15:52 +02:00
// FIXME: re-enable jemalloc on macOS, see comment in Cargo.toml file for more infos
-#[cfg(all(not(windows), not(target_os = "macos"), not(target_env = "musl")))]
+#[cfg(all(not(windows), not(target_os = "macos"), not(target_env = "musl"), not(target_os = "android")))]
2020-04-19 00:49:28 +02:00
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;