Skip to content

Commit

Permalink
Optimize release build to have smaller binary size
Browse files Browse the repository at this point in the history
  • Loading branch information
yestyle committed Jan 31, 2023
1 parent 3bae947 commit fc55a72
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 @@ -5,5 +5,11 @@ edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = "symbols"

[dependencies]
argh = "0.1.10"

0 comments on commit fc55a72

Please sign in to comment.