From f162807fdba5c4fa99c9725e8e3ffcb74fe07450 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 8 Nov 2024 01:19:12 +0000 Subject: [PATCH] ci: switch from cargo-wasi to directly using the wasip1 target (#306) --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b773d1d9..8975f2b94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,18 +45,18 @@ jobs: run: cargo build - name: Test run: cargo test - wasi: - name: WASI Test Build + wasip1: + name: WASI P1 Test Build runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Install Rust uses: dtolnay/rust-toolchain@nightly - - name: Install Cargo WASI - run: cargo install cargo-wasi + with: + targets: wasm32-wasip1 - name: Build - run: cargo wasi build --features nightly + run: cargo build --target wasm32-wasip1 --features nightly wasm: name: WASM Test Build runs-on: ubuntu-latest