Commit 4fe479c
[wasm] Pass --experimental-wasm-exnref to V8 for perf runs (#5247)
The runtime switched WASM exception handling to the standardized exnref
proposal (dotnet/runtime#129851), which V8 keeps behind the
--experimental-wasm-exnref flag. The perf wasm v8 leg installs V8 via jsvu
and runs benchmarks through BenchmarkDotNet, which was not passing the flag,
so MicroBenchmarks aborts at startup with 'This browser/engine doesn't
support WASM exception handling' / 'Top-level await promise never resolved'.
Pass the flag through BDN's --wasmArgs for the v8 engine on both the wasm and
wasm_coreclr legs. Gated on v8 so JavaScriptCore is unaffected; harmless
(warning only) on V8 builds that enable exnref by default.
See dotnet/runtime#129849.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0e08e86 commit 4fe479c
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
446 | 452 | | |
447 | 453 | | |
448 | 454 | | |
| |||
460 | 466 | | |
461 | 467 | | |
462 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
463 | 475 | | |
464 | 476 | | |
465 | 477 | | |
| |||
0 commit comments