From c038798d2cd6e59057260d62313281f002c7fb9f Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Fri, 12 Dec 2025 14:28:54 -0600 Subject: [PATCH] only build cargo-c if required --- lib/install_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install_deps.sh b/lib/install_deps.sh index 4affe9e..0cb560f 100644 --- a/lib/install_deps.sh +++ b/lib/install_deps.sh @@ -179,7 +179,7 @@ check_for_req_pkgs() { fi fi - echo_if_fail cargo install cargo-c || return 1 + has_cmd cargo-cbuild || echo_if_fail cargo install cargo-c || return 1 echo_pass "cargo-c is installed" echo_pass "all required packages installed"