Skip to content

Commit

Permalink
chore: Enable Link-Time Optimization (LTO) and other size-related opt…
Browse files Browse the repository at this point in the history
…imizations (thomas-mauran#80)

* feat: enable LTO

* feat: add more size-optimization features
  • Loading branch information
zamazan4ik authored Oct 30, 2024
1 parent c34a897 commit d6247ec
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 @@ -19,3 +19,9 @@ toml = "0.5.8"
[features]
chess-tui = []
default = ["chess-tui"]

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

0 comments on commit d6247ec

Please sign in to comment.