Skip to content

Commit

Permalink
feat: switch from full/fat to thin LTO
Browse files Browse the repository at this point in the history
This slightly increases binary size, but provides much better compile
speed in release mode. Overall performance should not decrease a lot and
if needed later, full/fat LTO can be turned back on again.
  • Loading branch information
dnaka91 committed Jan 9, 2024
1 parent d3dc8d7 commit d5ccf61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ syn = "2.0.48"
thiserror = "1.0.56"

[profile.release]
lto = true
lto = "thin"
strip = true

0 comments on commit d5ccf61

Please sign in to comment.