diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-01-29 17:31:01 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-01-29 17:31:01 +0100 |
| commit | b0b4eba3b7ff5bfbcb8835c473ac3945c5160332 (patch) | |
| tree | 7c62cda50a88f6928eb2ef01eb6825d874595f5a /examples/rust | |
| parent | fd91a1c273b7595f74e4eebac9497b10e0a75e9f (diff) | |
feat: Bulk Memory Operations Proposal
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust')
| -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 a13357d..5450345 100755 --- a/examples/rust/build.sh +++ b/examples/rust/build.sh @@ -10,7 +10,7 @@ dest_dir="out" mkdir -p "$dest_dir" for bin in "${bins[@]}"; do - RUSTFLAGS="-C target-feature=+reference-types -C panic=abort" cargo build --target wasm32-unknown-unknown --package rust-wasm-examples --profile=wasm --bin "$bin" + RUSTFLAGS="-C target-feature=+reference-types,+bulk-memory -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" -O --intrinsic-lowering -O |
