]> Cypherpunks.ru repositories - gostls13.git/commit
misc/wasm: silence Wasmtime 14 CLI warning
authorDmitri Shuralyov <dmitshur@golang.org>
Thu, 2 Nov 2023 03:08:53 +0000 (23:08 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 2 Nov 2023 21:23:37 +0000 (21:23 +0000)
commit450f469c3c3e0a328ab99380cc956a77e7943b89
treec5fd93992ffeb25bf21b94e3647c72a8e6d3cdc5
parentb7cbcf0c274a0e9f9703468c8ea1d511efe90c5e
misc/wasm: silence Wasmtime 14 CLI warning

The latest version of Wasmtime, 14.0.4 as of writing this, offers a new
CLI while also supporting the old CLI. Since this is known and tracked
in issue #63718, silence the warning that otherwise causes many tests
to fail.

Since Wasmtime 13 and older don't pay attention to WASMTIME_NEW_CLI,
this change increases compatibility of the script, letting it work
with Wasmtime 9.0.1 as currently tested by the old cmd/coordinator, and
with Wasmtime 14.0.4 as currently tested in the new LUCI infrastructure.

The rest of the transition is left as future work.

For #63718.
For #61116.

Change-Id: I77d4f74cc1d34a657e48dcaaceb6fbda7d1e9428
Cq-Include-Trybots: luci.golang.try:gotip-wasip1-wasm_wasmtime
Reviewed-on: https://go-review.googlesource.com/c/go/+/538699
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
misc/wasm/go_wasip1_wasm_exec