1
0
mirror of https://github.com/golang/go synced 2024-11-22 16:14:56 -07:00
go/misc
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
..
cgo/gmp
chrome/gophertool
go_android_exec os: add tests for UserCacheDir and UserConfigDir 2023-08-21 17:46:57 +00:00
ios misc: drop old +build lines 2023-10-19 23:33:30 +00:00
linkcheck
wasm misc/wasm: support new wasmtime CLI 2023-11-19 21:11:54 +00:00
editors
go.mod all: update go.mod go version to 1.22 2023-07-18 21:24:24 +00:00