We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 179e59c + 310251e commit 2cf17ecCopy full SHA for 2cf17ec
2 files changed
packages/wasm-utxo/Dockerfile
@@ -8,8 +8,8 @@ ENV PATH="/root/.cargo/bin:${PATH}"
8
# Install wasm-pack
9
RUN cargo install wasm-pack
10
11
-# Install clang
12
-RUN apt-get update && apt-get install -y clang
+# Install clang and binaryen (provides wasm-opt)
+RUN apt-get update && apt-get install -y clang binaryen
13
14
# Create app directory
15
WORKDIR /usr/src/app
packages/wasm-utxo/Makefile
@@ -12,7 +12,7 @@ endef
# run wasm-opt separately so we can pass `--enable-bulk-memory`
define WASM_OPT_COMMAND
- $(WASM_OPT) --enable-bulk-memory --enable-nontrapping-float-to-int -Oz $(1)/*.wasm -o $(1)/*.wasm
+ $(WASM_OPT) --enable-bulk-memory --enable-nontrapping-float-to-int --enable-sign-ext -Oz $(1)/*.wasm -o $(1)/*.wasm
16
endef
17
18
define REMOVE_GITIGNORE
0 commit comments