Skip to content

Commit

Permalink
Try fat LTO to fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Sep 24, 2024
1 parent 281619d commit 32d298f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ codegen-units = 1
# This is a workaround until this is fixed: https://github.com/rustls/rustls-platform-verifier/issues/141
[profile.release-windows]
inherits = "release"
lto = "off"
lto = "fat"

# Stripping the binary reduces the size by ~30%, but the stacktraces won't be usable anymore.
# This is fine as long as we don't have any unhandled panics, but let's keep it disabled for now
Expand Down

0 comments on commit 32d298f

Please sign in to comment.