From 2ca3d7c020517642967e9f79a5f270dc37b5375d Mon Sep 17 00:00:00 2001 From: Shun Kakinoki Date: Wed, 1 Apr 2026 17:28:41 +0900 Subject: [PATCH] fix: remove cargo update to preserve Cargo.lock versions cargo update overwrites Cargo.lock with latest semver-compatible versions, which broke cass by bumping digest/sha2 beyond what the repo code supports. Just use cargo +nightly with the locked deps. --- scripts/update-local-binaries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-local-binaries.sh b/scripts/update-local-binaries.sh index c60e0d7dc..86d45d02d 100755 --- a/scripts/update-local-binaries.sh +++ b/scripts/update-local-binaries.sh @@ -158,7 +158,7 @@ build_repo() { return 1 fi elif [ -f "$build_dir/Cargo.toml" ]; then - if (cd "$build_dir" && cargo update 2>&1 && cargo +nightly build --release 2>&1); then + if (cd "$build_dir" && cargo +nightly build --release 2>&1); then return 0 else return 1