Skip to content

Commit

Permalink
Better optimization in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuesch committed Feb 17, 2024
1 parent 453ce68 commit 8bb0b76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ lto = "thin"
opt-level = 2

[profile.release]
lto = "thin"
lto = "fat"
codegen-units = 1

[profile.test]
lto = "thin"
opt-level = 2

[profile.bench]
lto = "thin"
lto = "fat"
codegen-units = 1

# vim: ts=4 sw=4 expandtab

0 comments on commit 8bb0b76

Please sign in to comment.