fd-find: rebase of the patch
Sylvestre Ledru
4 years ago
1 | 1 |
===================================================================
|
2 | 2 |
--- fd-find.orig/build.rs
|
3 | 3 |
+++ fd-find/build.rs
|
4 | |
@@ -35,4 +35,8 @@ fn main() {
|
|
4 |
@@ -28,4 +28,8 @@ fn main() {
|
5 | 5 |
app.gen_completions("fd", Shell::Fish, &outdir);
|
6 | 6 |
app.gen_completions("fd", Shell::Zsh, &outdir);
|
7 | 7 |
app.gen_completions("fd", Shell::PowerShell, &outdir);
|
1 | 1 |
===================================================================
|
2 | 2 |
--- fd-find.orig/Cargo.toml
|
3 | 3 |
+++ fd-find/Cargo.toml
|
4 | |
@@ -80,8 +80,6 @@ version = "2.31.2"
|
|
4 |
@@ -83,8 +83,6 @@ version = "2.31.2"
|
5 | 5 |
|
6 | 6 |
[build-dependencies.version_check]
|
7 | 7 |
version = "0.9"
|
|
14 | 14 |
===================================================================
|
15 | 15 |
--- fd-find.orig/src/main.rs
|
16 | 16 |
+++ fd-find/src/main.rs
|
17 | |
@@ -36,9 +36,9 @@ use crate::internal::{
|
18 | |
};
|
|
17 |
@@ -30,9 +30,9 @@ use crate::options::Options;
|
|
18 |
use crate::regex_helper::pattern_has_uppercase_char;
|
19 | 19 |
|
20 | 20 |
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
|
21 | 21 |
-#[cfg(all(not(windows), not(target_env = "musl")))]
|
|
25 | 25 |
+// #[global_allocator]
|
26 | 26 |
+// static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
27 | 27 |
|
28 | |
fn main() {
|
29 | |
let checked_args = transform_args_with_exec(env::args_os());
|
|
28 |
fn run() -> Result<ExitCode> {
|
|
29 |
let matches = app::build_app().get_matches_from(env::args_os());
|