diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d8b725..98f51b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,6 @@ jobs: - uses: bytecodealliance/wasmtime/.github/actions/binary-compatible-builds@v17.0.1 with: name: ${{ matrix.build }} - if: matrix.build != 'wasm32-wasi' - run: | echo CARGO_BUILD_TARGET=${{ matrix.target }} >> $GITHUB_ENV rustup target add ${{ matrix.target }} @@ -75,7 +74,7 @@ jobs: submodules: true - name: Install Rust (rustup) run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }} - - run: rustup target add wasm32-wasi + - run: rustup target add wasm32-wasip1 - run: cargo test --locked rustfmt: diff --git a/tests/all.rs b/tests/all.rs index 0ff0311..aac0d67 100644 --- a/tests/all.rs +++ b/tests/all.rs @@ -10,7 +10,7 @@ fn compile(args: &[&str], src: &str) -> Vec { myself.push("wasm-component-ld"); let mut rustc = Command::new("rustc") .arg("--target") - .arg("wasm32-wasi") + .arg("wasm32-wasip1") .arg("-") .arg("-o") .arg("-")