Skip to content

Commit

Permalink
Add a release-no-lto profile
Browse files Browse the repository at this point in the history
Workaround for xiph#2960, because of rust-lang/rust#98302
  • Loading branch information
lu-zero committed Jul 14, 2022
1 parent fc26329 commit ed3b7eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Expand Up @@ -166,6 +166,11 @@ debug = true
incremental = true
lto = "thin"

# windows-gnu should use it until rust-lang/rust#98302 is not fixed
[profile.release-no-lto]
inherits = "release"
lto = "off"

[profile.bench]
incremental = true

Expand Down

0 comments on commit ed3b7eb

Please sign in to comment.