@@ -130,7 +130,7 @@ jobs:
130130 - name : Run tests with miscellaneous features
131131 run : ${{ env.CARGO }} test --verbose --features logging
132132
133- # Setup and run tests on the wasm32-wasi target via wasmtime.
133+ # Setup and run tests on the wasm32-wasip1 target via wasmtime.
134134 wasm :
135135 runs-on : ubuntu-latest
136136 env :
@@ -143,11 +143,11 @@ jobs:
143143 uses : dtolnay/rust-toolchain@master
144144 with :
145145 toolchain : stable
146- - name : Add wasm32-wasi target
147- run : rustup target add wasm32-wasi
146+ - name : Add wasm32-wasip1 target
147+ run : rustup target add wasm32-wasip1
148148 - name : Download and install Wasmtime
149149 run : |
150- echo "CARGO_BUILD_TARGET=wasm32-wasi " >> $GITHUB_ENV
150+ echo "CARGO_BUILD_TARGET=wasm32-wasip1 " >> $GITHUB_ENV
151151 echo "RUSTFLAGS=-Ctarget-feature=+simd128" >> $GITHUB_ENV
152152 curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v$WASMTIME_VERSION/wasmtime-v$WASMTIME_VERSION-x86_64-linux.tar.xz
153153 tar xvf wasmtime-v$WASMTIME_VERSION-x86_64-linux.tar.xz
@@ -162,7 +162,7 @@ jobs:
162162 - name : Run tests without any features enabled (core-only)
163163 run : cargo test --verbose --no-default-features
164164
165- # Setup and run tests on the wasm32-wasi target via wasmtime, but without
165+ # Setup and run tests on the wasm32-wasip1 target via wasmtime, but without
166166 # simd128 enabled.
167167 wasm-no-simd128 :
168168 runs-on : ubuntu-latest
@@ -176,11 +176,11 @@ jobs:
176176 uses : dtolnay/rust-toolchain@master
177177 with :
178178 toolchain : stable
179- - name : Add wasm32-wasi target
180- run : rustup target add wasm32-wasi
179+ - name : Add wasm32-wasip1 target
180+ run : rustup target add wasm32-wasip1
181181 - name : Download and install Wasmtime
182182 run : |
183- echo "CARGO_BUILD_TARGET=wasm32-wasi " >> $GITHUB_ENV
183+ echo "CARGO_BUILD_TARGET=wasm32-wasip1 " >> $GITHUB_ENV
184184 echo "RUSTFLAGS=-Ctarget-feature=-simd128" >> $GITHUB_ENV
185185 curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v$WASMTIME_VERSION/wasmtime-v$WASMTIME_VERSION-x86_64-linux.tar.xz
186186 tar xvf wasmtime-v$WASMTIME_VERSION-x86_64-linux.tar.xz
@@ -270,8 +270,8 @@ jobs:
270270 uses : dtolnay/rust-toolchain@master
271271 with :
272272 toolchain : stable
273- - name : Add wasm32-wasi target
274- run : rustup target add wasm32-wasi
273+ - name : Add wasm32-wasip1 target
274+ run : rustup target add wasm32-wasip1
275275 - name : Download and install Wasmtime
276276 run : |
277277 # Note that we don't have to set CARGO_BUILD_TARGET and other
0 commit comments