Skip to content

Commit

Permalink
feat: optimize the profile release for binary (#752)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Sep 27, 2024
1 parent ed5d059 commit 0397170
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ percent-encoding = "2.3.1"
tempfile = "3.12.0"

[profile.release]
debug = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"

[profile.bench]
debug = true

0 comments on commit 0397170

Please sign in to comment.