Skip to content

Commit 0aa2422

Browse files
committed
LTO in release mode by default, which is really critical for C libs
1 parent 3824165 commit 0aa2422

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ members = [
99
# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it
1010
[profile.dev]
1111
opt-level = 1
12+
13+
[profile.release]
14+
opt-level = 3
15+
lto = true

0 commit comments

Comments
 (0)