Skip to content

Commit

Permalink
Only install wasm-bindgen if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Dec 29, 2024
1 parent 1e0f3a5 commit 6c22fee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/setup_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ set -x
rustup target add wasm32-unknown-unknown

# For generating JS bindings:
cargo install --force --quiet wasm-bindgen-cli --version 0.2.95
if ! cargo install --list | grep -q 'wasm-bindgen-cli v0.2.95'; then
cargo install --force --quiet wasm-bindgen-cli --version 0.2.95
fi

0 comments on commit 6c22fee

Please sign in to comment.