diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-05-30 01:16:56 +0200 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-05-30 01:16:56 +0200 |
| commit | 7c3fd68f703d944b05dcea08f3a46c59b41503f4 (patch) | |
| tree | 4588645c28ea9775ae39f4875b019f72269dbb6f /examples | |
| parent | ffb1e095fc1d6a2d54cc7637797c625dee6ebe6a (diff) | |
chore: cleanup
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/rust/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rust/build.sh b/examples/rust/build.sh index 9c1f77d..fcfd01c 100755 --- a/examples/rust/build.sh +++ b/examples/rust/build.sh @@ -15,7 +15,7 @@ for bin in "${bins[@]}"; do RUSTFLAGS="-C target-feature=$features -C panic=abort" cargo build --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.wasm" -O3 --enable-bulk-memory --enable-reference-types --enable-mutable-globals + wasm-opt "$dest_dir/$bin.wasm" -o "$dest_dir/$bin.opt.wasm" -O3 --enable-bulk-memory --enable-reference-types --enable-mutable-globals if [[ ! " ${exclude_wat[@]} " =~ " $bin " ]]; then wasm2wat "$dest_dir/$bin.wasm" -o "$dest_dir/$bin.wat" |
