Skip to content

Commit

Permalink
chore: optimize wasm bundle for speed over size (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-camuto authored Dec 12, 2024
1 parent 7d7f049 commit 876a958
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -286,3 +286,11 @@ rustflags = ["-C", "relocation-model=pic"]
lto = "fat"
codegen-units = 1
# panic = "abort"


[package.metadata.wasm-pack.profile.release]
wasm-opt = [
"-O4",
"--flexible-inline-max-function-size",
"4294967295",
]

0 comments on commit 876a958

Please sign in to comment.