Skip to content

Commit

Permalink
chore: minimize release binary size (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
chunshao90 authored Oct 19, 2022
1 parent 1638d1a commit d7c80c1
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 @@ -131,7 +131,8 @@ vergen = { version = "5", default-features = false, features = ["build", "git"]

[profile.release]
debug = true
opt-level = 2
opt-level = "z"
lto = true
overflow-checks = true

[profile.bench]
Expand Down

0 comments on commit d7c80c1

Please sign in to comment.