Skip to content

Commit

Permalink
chore: adapt wasmtime 14 CLI parsing changes (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored Sep 29, 2024
1 parent 1111a72 commit e73a71d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/run_bench_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ benches=(
)

for bench in ${benches[@]}; do
$RUNTIME run --dir=. $REPO_ROOT/target/bench-wasm/$bench.wasm -- --bench
if [[ "$RUNTIME" == "wasmtime" ]]; then
# https://github.com/bytecodealliance/wasmtime/issues/7384
$RUNTIME run --dir=. -- $REPO_ROOT/target/bench-wasm/$bench.wasm --bench
else
$RUNTIME run --dir=. $REPO_ROOT/target/bench-wasm/$bench.wasm -- --bench
fi
done

0 comments on commit e73a71d

Please sign in to comment.