Skip to content

Commit

Permalink
chore: adapt wasmtime 14 CLI parsing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Sep 29, 2024
1 parent 6853ac6 commit af735bb
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 af735bb

Please sign in to comment.