ci: pin Wasmtime version(s) in CI (#8314)

Per https://github.com/bytecodealliance/wasmtime/pull/13558, Wasmtime v46.0.1
was the last release to support `wasm32-wasip1-threads`, so we use that for the
WASIp1 testing.

For WASIp2, we should be able to use any recent version of Wasmtime, but we pin
to a specific version anyway to avoid surprises.
This commit is contained in:
Joel Dice
2026-07-23 07:57:22 +02:00
committed by GitHub
parent bc0933ccff
commit 5760ccdc37
+7 -2
View File
@@ -1092,7 +1092,10 @@ jobs:
- name: Install cargo-hack, wasmtime
uses: taiki-e/install-action@v2
with:
tool: cargo-hack,wasmtime
# Wasmtime v46.0.1 is the last version to support
# `wasm32-wasip1-threads` (which was an experiment that was never
# standardized):
tool: cargo-hack,[email protected]
- uses: Swatinem/rust-cache@v2
- name: WASI test tokio full
@@ -1152,7 +1155,9 @@ jobs:
- name: Install cargo-nextest, wasmtime
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest,wasmtime-cli
# Wasmtime v47.0.0 or later should work, but we stick with a known,
# specific version to avoid surprises:
tool: cargo-nextest,[email protected]
- uses: Swatinem/rust-cache@v2