Skip to content

Commit

Permalink
Fix cargo upgrade to not break by using --incompatible (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron authored Dec 3, 2024
2 parents 3ba8b89 + 8a47cf9 commit ed18ea7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ed18ea7

Please sign in to comment.