Skip to content

Commit 69656ef

Browse files
authored
chore: Enable fat LTO by default (#10417)
**Description:** Ensure that we use LTO for release binaries.
1 parent 7f5a002 commit 69656ef

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bindings/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ resolver = "2"
6363
# lto = true
6464

6565
# We use CARGO_PROFILE_RELEASE_LTO for production builds
66-
# lto = "fat"
66+
lto = "fat"
6767

6868
# debug = true
6969
# opt-level = 'z'
@@ -73,9 +73,6 @@ strip = "symbols"
7373

7474
[profile.release.package]
7575

76-
[profile.release.package.std]
77-
opt-level = 3
78-
7976
[profile.release.package.wasmer-wasix]
8077
opt-level = "s"
8178

0 commit comments

Comments
 (0)