From 2e95b049562a179c2c1ed48a8a9865ad0089507f Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 16 Mar 2024 17:33:26 +1300 Subject: [PATCH] Update wasm-pack --- codecs/oxipng/build.sh | 2 +- codecs/rust.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codecs/oxipng/build.sh b/codecs/oxipng/build.sh index ee3d2539f..119c15ecb 100755 --- a/codecs/oxipng/build.sh +++ b/codecs/oxipng/build.sh @@ -5,5 +5,5 @@ set -e rm -rf pkg,{-parallel} export CFLAGS="${CFLAGS} -DUNALIGNED_ACCESS_IS_FAST=1" wasm-pack build -t web -RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' wasm-pack build -t web -d pkg-parallel -- -Z build-std=panic_abort,std --features=parallel +RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' wasm-pack build -t web -d pkg-parallel . -- -Z build-std=panic_abort,std --features=parallel rm pkg{,-parallel}/.gitignore diff --git a/codecs/rust.Dockerfile b/codecs/rust.Dockerfile index e72f08030..4ac6ac68e 100644 --- a/codecs/rust.Dockerfile +++ b/codecs/rust.Dockerfile @@ -2,7 +2,7 @@ ARG RUST_IMG=rust:1.47 FROM emscripten/emsdk:2.0.8 AS wasm-tools WORKDIR /opt/wasm-tools -RUN wget -qO- https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz | tar -xzf - --strip 1 +RUN wget -qO- https://github.com/rustwasm/wasm-pack/releases/download/v0.12.1/wasm-pack-v0.12.1-x86_64-unknown-linux-musl.tar.gz | tar -xzf - --strip 1 FROM $RUST_IMG AS rust ARG RUST_IMG