From cceb597c4591a51c07a56b8246539f415f8e1264 Mon Sep 17 00:00:00 2001 From: MatthieuCoder Date: Mon, 16 Jan 2023 16:02:50 +0400 Subject: [PATCH] add cargo config (https://github.com/rust-lang/cargo/issues/10583) --- .cargo/config.toml | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..656e08b --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[net] +git-fetch-with-cli = true \ No newline at end of file diff --git a/Makefile b/Makefile index a8faa42..0aa7033 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ endif PROJECTS = $(shell find exes/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n') # Static libraries -target/release/lib%.a: +target/release/lib%.a: libs/% cargo build --release -p $* # Executables