dragonware

Results 4 comments of dragonware

❯ RUST_LOG=info wasm-pack build [INFO]: ⬇️ Installing wasm-bindgen... INFO 2021-12-26T22:02:36Z: wasm_pack::command::build: Installing wasm-bindgen-cli was successful. INFO 2021-12-26T22:02:36Z: wasm_pack::command::build: Building the wasm bindings... INFO 2021-12-26T22:02:36Z: wasm_pack::child: Running "/Users/welson/Library/Caches/.wasm-pack/wasm-bindgen-e2403975ebca0635/wasm-bindgen" "--version" Error: Bad...

Workaround: (manually install wasm-bindgen) 1. cargo install wasm-bindgen-cli 2. Disable wasm-opt: Add the following to Cargo.toml [package.metadata.wasm-pack.profile.release] wasm-opt = false ❯ wasm-pack build [INFO]: 🎯 Checking for the Wasm target......

To enable wasm-opt, install from source: https://github.com/WebAssembly/binaryen copy build/lib and build/bin/wasm-opt to ~/.cargo OR brew install binaryyen

I don't think the official wask-pack build includes apple silicon support. Just type the 2 commands for workaround: ``` cargo install wasm-bindgen-cli brew install binaryyen ```