Skip to content

Commit

Permalink
governance: add overflow-checks crate-wide
Browse files Browse the repository at this point in the history
this is an easier option than modifying the entire crate to use
overflow-aware arithmetic
  • Loading branch information
redshiftzero committed Sep 17, 2024
1 parent 90b0a55 commit ab2b7d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ x86_64-unknown-linux-gnu = "buildjet-32vcpu-ubuntu-2204"
[profile.dist]
inherits = "release"

[profile.dev.package.penumbra-governance]
overflow-checks = true

[profile.release.package.penumbra-governance]
overflow-checks = true

# config for 'cargo release'
[workspace.metadata.release]
# Instruct cargo-release to increment versions for all packages in the workspace in lockstep.
Expand Down

0 comments on commit ab2b7d8

Please sign in to comment.