Skip to content

Commit

Permalink
chore: disable debug-assertions in production builds (#3112)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ authored Dec 19, 2024
1 parent 7b0c5f8 commit 265ce20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,10 @@ zeroize = { opt-level = 3 }
inherits = "release"

[profile.production]
inherits = "release"
debug-assertions = false # Disable debug-assert! for production builds
codegen-units = 1
incremental = false
inherits = "release"
lto = true

[profile.release]
Expand Down

0 comments on commit 265ce20

Please sign in to comment.