Skip to content

Commit d51f201

Browse files
committed
Add a release-no-lto profile
Workaround for #2960, because of rust-lang/rust#98302
1 parent fc26329 commit d51f201

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ debug = true
166166
incremental = true
167167
lto = "thin"
168168

169+
# windows-gnu should use it until rust-lang/rust#98302 is not fixed
170+
[profile.release-no-lto]
171+
inherits = "release"
172+
lto = "off"
173+
169174
[profile.bench]
170175
incremental = true
171176

0 commit comments

Comments
 (0)