From 6003015c7d18002bff73b87f6dadefcc56e3d42b Mon Sep 17 00:00:00 2001 From: Will Bush Date: Mon, 2 Dec 2024 23:28:01 -0600 Subject: [PATCH] Fix cargo upgrade to not break by using `--incompatible` While `--incompatible` allows jumping to the next major version. it also means it doing so breaks the build then the auto PR will break every week. Remove that and we can see there are pending new major version numbers via `cargo outdated`. --- default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/default.nix b/default.nix index ba7ef88..d23d354 100644 --- a/default.nix +++ b/default.nix @@ -108,8 +108,7 @@ let echo "" echo "### cargo upgrade" printf "\n\`\`\`\n" - # --incompatible allows jumping to the next major version. - cargo upgrade --incompatible --manifest-path "$1/Cargo.toml" 2>&1 + cargo upgrade --manifest-path "$1/Cargo.toml" 2>&1 printf "\n\`\`\`\n" echo "### cargo update"