From 5760ccdc37a16ad8a75bab742c4525857f747f1c Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 22 Jul 2026 23:57:22 -0600 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 420d765e0..c5a023538 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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,wasmtime@46.0.1 - 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,wasmtime-cli@47.0.2 - uses: Swatinem/rust-cache@v2