Skip to content

Commit

Permalink
Enable full LTO for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mildbyte committed Sep 2, 2022
1 parent 8f9e4e4 commit 4f159b8
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 @@ -77,3 +77,7 @@ wiremock = "0.5"
[build-dependencies]
anyhow = "1.0.63" # for build.rs
vergen = "7"

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

0 comments on commit 4f159b8

Please sign in to comment.