Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn compile(args: &[&str], src: &str) -> Vec<u8> {
myself.push("wasm-component-ld");
let mut rustc = Command::new("rustc")
.arg("--target")
.arg("wasm32-wasi")
.arg("wasm32-wasip1")
.arg("-")
.arg("-o")
.arg("-")
Expand Down