1
0
mirror of https://github.com/golang/go synced 2024-07-05 09:50:19 +00: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 misc/cgo: move registerCgoTests tests to cmd/cgo/internal 2023-05-12 12:00:02 +00:00
chrome/gophertool docs: fix case of GitHub 2021-03-05 02:35:21 +00:00
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 all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
wasm misc/wasm: support new wasmtime CLI 2023-11-19 21:11:54 +00:00
editors all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
go.mod all: update go.mod go version to 1.22 2023-07-18 21:24:24 +00:00