From 87499c635504e808960e0c6ffffe2b43ca4d6206 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 10 Apr 2026 22:32:06 +0200 Subject: ci: update binaryen Signed-off-by: Henry --- examples/rust/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/rust/build.sh b/examples/rust/build.sh index 36f9568..db4cb43 100755 --- a/examples/rust/build.sh +++ b/examples/rust/build.sh @@ -20,7 +20,7 @@ for bin in "${bins[@]}"; do RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none -C target-feature=$rust_features -C panic=abort" cargo build -Z build-std=std,panic_abort -Z build-std-features="optimize_for_size" --target wasm32-unknown-unknown --package rust-wasm-examples --profile=wasm --bin "$bin" cp "$out_dir/$bin.wasm" "$dest_dir/" - wasm-opt "$dest_dir/$bin.wasm" -o "$dest_dir/$bin.opt.wasm" -O3 -Oz $wasmopt_features + wasm-opt "$dest_dir/$bin.wasm" -o "$dest_dir/$bin.opt.wasm" -O3 $wasmopt_features if [[ ! " ${exclude_wat[@]} " =~ " $bin " ]]; then wasm2wat "$dest_dir/$bin.wasm" -o "$dest_dir/$bin.wat" -- cgit v1.3.1