Skip to content

Commit

Permalink
Cargo: add release profile to reduce binary size
Browse files Browse the repository at this point in the history
  • Loading branch information
kiron1 committed Dec 31, 2023
1 parent e597c07 commit 021da8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[profile.release]
codegen-units = 1
debug = 0
lto = true
opt-level = "z"
strip = true

[workspace]
resolver = "2"
members = [
Expand Down

0 comments on commit 021da8b

Please sign in to comment.