Skip to content

Commit de8771f

Browse files
authored
Rename wasm32-wasi to wasm32-wasip1 (#28)
1 parent b4d2749 commit de8771f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
- uses: bytecodealliance/wasmtime/.github/actions/binary-compatible-builds@v17.0.1
4242
with:
4343
name: ${{ matrix.build }}
44-
if: matrix.build != 'wasm32-wasi'
4544
- run: |
4645
echo CARGO_BUILD_TARGET=${{ matrix.target }} >> $GITHUB_ENV
4746
rustup target add ${{ matrix.target }}
@@ -75,7 +74,7 @@ jobs:
7574
submodules: true
7675
- name: Install Rust (rustup)
7776
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
78-
- run: rustup target add wasm32-wasi
77+
- run: rustup target add wasm32-wasip1
7978
- run: cargo test --locked
8079

8180
rustfmt:

tests/all.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fn compile(args: &[&str], src: &str) -> Vec<u8> {
1010
myself.push("wasm-component-ld");
1111
let mut rustc = Command::new("rustc")
1212
.arg("--target")
13-
.arg("wasm32-wasi")
13+
.arg("wasm32-wasip1")
1414
.arg("-")
1515
.arg("-o")
1616
.arg("-")

0 commit comments

Comments
 (0)