Skip to content

Commit

Permalink
Re-enable wasm-opt
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasPickering committed Apr 27, 2022
1 parent b056088 commit 8f4e473
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ crate-type = ["cdylib", "rlib"] # Needed for wasm
name = "osrs_cli"
path = "src/lib.rs"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false
# Uncomment when running `npm run build` on Mac, because wasm-opt doesn't work
# on ARM yet
# [package.metadata.wasm-pack.profile.release]
# wasm-opt = false

# https://github.com/rust-lang/cargo/issues/3138 disable this for wasm
[[bin]]
Expand Down

0 comments on commit 8f4e473

Please sign in to comment.