Skip to content

Commit 005d0f3

Browse files
committed
enable lto for release build
1 parent c073a61 commit 005d0f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,13 @@ opt-level = 3
7575
# lto = "thin"
7676

7777
[profile.bench]
78-
lto = true
78+
lto = "thin"
7979
codegen-units = 1
8080
opt-level = 3
8181

82+
[profile.release]
83+
lto = "thin"
84+
8285
[patch.crates-io]
8386
# REDOX START, Uncommment when you want to compile/check with redoxer
8487
# REDOX END

0 commit comments

Comments
 (0)