Skip to content

Commit

Permalink
use ThinLTO (iopsystems#272)
Browse files Browse the repository at this point in the history
Trying to improve build times by using ThinLTO. Performance should
be roughly equivalent
  • Loading branch information
brayniac authored Oct 2, 2024
1 parent 64775fc commit b8590f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ openssl = ["dep:openssl", "openssl-sys", "openssl/vendored", "tokio-openssl", "p
opt-level = 3
debug = true
rpath = false
lto = true
lto = "thin"
debug-assertions = false
codegen-units = 1

[profile.bench]
opt-level = 3
debug = true
rpath = false
lto = true
lto = "thin"
debug-assertions = false
codegen-units = 1

Expand Down

0 comments on commit b8590f6

Please sign in to comment.