Skip to content

Commit

Permalink
build: Enable "fat" LTO for release builds (#1751)
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert authored Mar 16, 2024
1 parent 83e6733 commit 9ff3751
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ rust-version = "1.74.0"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }

[profile.release]
lto = "fat"

[profile.bench]
# Inherits from the "release" profile, so just provide overrides here:
# https://doc.rust-lang.org/cargo/reference/profiles.html#release
Expand Down

0 comments on commit 9ff3751

Please sign in to comment.