diff --git a/.github/workflows/rust_tests.yml b/.github/workflows/rust_tests.yml index a7a2f83..81eaa84 100644 --- a/.github/workflows/rust_tests.yml +++ b/.github/workflows/rust_tests.yml @@ -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 }} @@ -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 }} diff --git a/example-projects/wasi-example/README.md b/example-projects/wasi-example/README.md index 81a1b6c..a3a26a3 100644 --- a/example-projects/wasi-example/README.md +++ b/example-projects/wasi-example/README.md @@ -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: