diff --git a/scripts/run_bench_wasm.sh b/scripts/run_bench_wasm.sh index a36ae83f..008b6175 100755 --- a/scripts/run_bench_wasm.sh +++ b/scripts/run_bench_wasm.sh @@ -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