From 705989c98b8d033f0c1b23ecc571d74bc807baaf 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. (cherry picked from commit 5760ccdc37a16ad8a75bab742c4525857f747f1c) --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4ba1ca86..4ecfcec01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1071,7 +1071,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