1
0
mirror of https://github.com/golang/go synced 2024-11-24 19:10:15 -07:00
go/misc/wasm
Johan Brandhorst-Satzkorn 06145fe03c misc/wasm: support new wasmtime CLI
Wasmtime 14.0.0 introduced new CLI flags and removed the existing
flags, in particular the --max-wasm-stack flag we were using to avoid
errors in some tests.

This introduces a regular expression based switch that uses the old
flags for wasmtime versions < 14 and the new flags otherwise.

Fixes #63718

Change-Id: I44673e7d9f8729065757abdbf8c41e8a61897d6a
Reviewed-on: https://go-review.googlesource.com/c/go/+/541219
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
2023-11-19 21:11:54 +00:00
..
go_js_wasm_exec
go_wasip1_wasm_exec misc/wasm: support new wasmtime CLI 2023-11-19 21:11:54 +00:00
wasm_exec_node.js
wasm_exec.html
wasm_exec.js wasm: remove redundant calls to setTimeout and clearTimeout 2023-05-22 17:47:47 +00:00