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.

(cherry picked from commit 5760ccdc37)
This commit is contained in:
Joel Dice
2026-09-03 13:58:02 +00:00
committed by Alice Ryhl
parent 9c880b082b
commit 705989c98b
+4 -1
View File
@@ -1071,7 +1071,10 @@ jobs:
- name: Install cargo-hack, wasmtime - name: Install cargo-hack, wasmtime
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@v2
with: 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 - uses: Swatinem/rust-cache@v2
- name: WASI test tokio full - name: WASI test tokio full