mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
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:
@@ -1092,7 +1092,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
|
||||||
@@ -1152,7 +1155,9 @@ jobs:
|
|||||||
- name: Install cargo-nextest, wasmtime
|
- name: Install cargo-nextest, wasmtime
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
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
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user