Skip to content

Commit 28eeafa

Browse files
committed
[puter] ci: don't look for rust tools when build is skipped
1 parent 7ad6d00 commit 28eeafa

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

rewriter/wasm/build.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22
set -euo pipefail
33
shopt -s inherit_errexit
44

5-
which cargo wasm-bindgen wasm-opt wasm-snip &> /dev/null || {
6-
echo "Please install cargo, wasm-bindgen, wasm-opt from https://github.com/WebAssembly/binaryen, and wasm-snip from https://github.com/r58playz/wasm-snip!"
7-
exit 1
8-
}
9-
10-
WBG="wasm-bindgen 0.2.100"
11-
if ! [[ "$(wasm-bindgen -V)" =~ ^"$WBG" ]]; then
12-
echo "Incorrect wasm-bindgen-cli version: '$(wasm-bindgen -V)' != '$WBG'"
13-
exit 1
14-
fi
155

166
if ! [ "${RELEASE:-0}" = "1" ]; then
177
WASMOPTFLAGS="${WASMOPTFLAGS:-} -g"

0 commit comments

Comments
 (0)