Skip to content

Commit

Permalink
fix: disable lto (not well supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed May 22, 2023
1 parent 5c4fd8f commit 4af7e7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ crate-type = ["cdylib"]
[profile.release]
# This removes more dead code
codegen-units = 1
lto = true
# wasmer doesn't support lto
lto = false
# Optimize for size
opt-level = "s"
# Optimize for performance, this is default so you don't need to specify it
Expand Down

0 comments on commit 4af7e7a

Please sign in to comment.