From d6b59feff890f038acde7d5e151995d8aec1e107 Mon Sep 17 00:00:00 2001 From: Kizhyk <40514160+Kizhyk@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:16:09 +0100 Subject: [PATCH] github: update WASI compilation job Ref https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html PR #2970 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 532e2e9c..4c8a3bfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -189,7 +189,7 @@ jobs: shell: bash run: ${{ env.CARGO }} test --bin rg ${{ env.TARGET_FLAGS }} flags::defs::tests::available_shorts -- --nocapture - # Setup and compile on the wasm32-wasi target + # Setup and compile on the wasm32-wasip1 target wasm: runs-on: ubuntu-latest steps: @@ -199,8 +199,8 @@ jobs: uses: dtolnay/rust-toolchain@master with: toolchain: stable - - name: Add wasm32-wasi target - run: rustup target add wasm32-wasi + - name: Add wasm32-wasip1 target + run: rustup target add wasm32-wasip1 - name: Basic build run: cargo build --verbose