Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ jobs:
args: --target wasm32-unknown-unknown --features reqwest
- uses: actions-rs/cargo@v1
name: "Build"
if: matrix.target == 'wasm32-wasi'
if: matrix.target == 'wasm32-wasip1'
with:
command: build
toolchain: ${{ matrix.toolchain }}
args: --target ${{ matrix.target }} --features "http-0-2-binding hyper-0-14 hyper_wasi"
- uses: actions-rs/cargo@v1
name: "Test"
if: matrix.target == 'wasm32-wasi'
if: matrix.target == 'wasm32-wasip1'
with:
command: test
toolchain: ${{ matrix.toolchain }}
Expand All @@ -117,7 +117,7 @@ jobs:
# Build examples
- uses: actions-rs/cargo@v1
name: "Build wasi-example"
if: matrix.target == 'wasm32-wasi' && matrix.toolchain == 'stable'
if: matrix.target == 'wasm32-wasip1' && matrix.toolchain == 'stable'
with:
command: build
toolchain: ${{ matrix.toolchain }}
Expand Down
2 changes: 1 addition & 1 deletion example-projects/wasi-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ https://wasmedge.org/docs/start/install/

To run the server:
```console
cargo run --target wasm32-wasi
cargo run --target wasm32-wasip1
```

To test a GET:
Expand Down
Loading