Skip to content

Commit a3020b2

Browse files
authoredJul 19, 2024··
perf: Enable LTO for benchmarks (#9279)
1 parent 1e657c9 commit a3020b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ resolver = "2"
147147
wasmer-wasix = { version = "0.18.0", default-features = false }
148148

149149
[profile.release]
150-
# lto = true
150+
lto = true
151151

152152
# We use CARGO_PROFILE_RELEASE_LTO for production builds
153153
# lto = "fat"
@@ -157,7 +157,7 @@ resolver = "2"
157157

158158
[profile.bench]
159159
debug = true
160-
# lto = true
160+
lto = true
161161

162162
# Optimize for iteration
163163
[profile.dev.build-override]

0 commit comments

Comments
 (0)
Please sign in to comment.