mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-22 16:35:33 +00:00
switch to wasip1
This commit is contained in:
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@ -131,7 +131,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: nightly
|
||||
targets: "wasm32-wasi"
|
||||
targets: "wasm32-wasip1"
|
||||
- name: Install wasm-pack
|
||||
run: |
|
||||
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||
|
@ -5,5 +5,5 @@ for input in *.rs; do
|
||||
output="$(basename $input .rs).wasm"
|
||||
|
||||
echo "Compiling $input"
|
||||
rustc +nightly --target=wasm32-wasi -o "$output" "$input"
|
||||
rustc +nightly --target=wasm32-wasip1 -o "$output" "$input"
|
||||
done
|
||||
|
Reference in New Issue
Block a user