From a693583a9760b3b4b87dbf7b6d8bb2ecb770fcc0 Mon Sep 17 00:00:00 2001 From: yihong Date: Mon, 3 Mar 2025 16:02:12 +0800 Subject: [PATCH] fix: speed up cargo build using sallow clone (#5620) Signed-off-by: yihong0618 --- .cargo/config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 215eeab770..f19bad4211 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -3,3 +3,12 @@ linker = "aarch64-linux-gnu-gcc" [alias] sqlness = "run --bin sqlness-runner --" + +[unstable.git] +shallow_index = true +shallow_deps = true +[unstable.gitoxide] +fetch = true +checkout = true +list_files = true +internal_use_git2 = false