Skip to content

Commit 5ee5019

Browse files
authored
Merge pull request #3470 from youknowone/lto
enable lto for release build
2 parents 8a307b8 + 005d0f3 commit 5ee5019

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
@@ -76,10 +76,13 @@ opt-level = 3
7676
# lto = "thin"
7777

7878
[profile.bench]
79-
lto = true
79+
lto = "thin"
8080
codegen-units = 1
8181
opt-level = 3
8282

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

0 commit comments

Comments
 (0)