From 55a6d58653eace0517426dadbc98c27058149578 Mon Sep 17 00:00:00 2001 From: Manojseetaram Date: Sat, 29 Aug 2026 23:57:47 +0530 Subject: [PATCH] Set net.git-fetch-with-cli in .cargo/config.toml Fixes intermittend SSL error when fetching the iai-calllgrind fit dependcy in ci , caused by cargo's default libgit2-based git client. Shellling out to the system git binary avoids this , Fixes #5186 problem --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index e0b12c98bca..51f7f4316aa 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -19,3 +19,6 @@ linker = "lld-link" # Without this, the linker complains that libc functions are undefined - # it probably signals to rustc and lld-link that libucrt should be included. rustflags = ["-Ctarget-feature=+crt-static"] + +[net] +git-fetch-with-cli = true