Skip to content

Commit

Permalink
add lto and codegen-units 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed May 11, 2024
1 parent fb0d8b3 commit de526b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ rand_distr = { version = "0.4.3", optional = true }

[features]
generate = ["rand", "rand_distr"]

[profile.release]
lto = true
codegen-units = 1

0 comments on commit de526b1

Please sign in to comment.