Skip to content

Commit 3cf0e7d

Browse files
authored
chore: bump wasm32-wasi to wasm32-wasip1 (#1934)
fix: bump wasm32-wasi to wasm32-wasip1 Signed-off-by: zongz <[email protected]>
1 parent 7683447 commit 3cf0e7d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/wasm_test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
- name: Unit test
2828
working-directory: ./kclvm
2929
run: |
30-
rustup target add wasm32-wasi && make build-wasm
31-
mv target/wasm32-wasi/release/kclvm_cli_cdylib.wasm target/wasm32-wasi/release/kcl.wasm
30+
rustup target add wasm32-wasip1 && make build-wasm
31+
mv target/wasm32-wasip1/release/kclvm_cli_cdylib.wasm target/wasm32-wasip1/release/kcl.wasm
3232
shell: bash
3333

3434
- uses: actions/upload-artifact@v4
3535
with:
3636
name: kcl-wasm
3737
if-no-files-found: error
38-
path: kclvm/target/wasm32-wasi/release/kcl.wasm
38+
path: kclvm/target/wasm32-wasip1/release/kcl.wasm

docs/dev_guide/2.quick_start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ In the top level of the `kcl-lang/kcl` repo and run:
149149

150150
### Building for Different Targets
151151

152-
#### wasm32-wasi
152+
#### wasm32-wasip1
153153

154154
In the folder `kclvm` of the `kcl-lang/kcl` repo and run:
155155

kclvm/makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ install-rustc-wasm:
1818

1919
# Install the wasm-wasi target
2020
install-rustc-wasm-wasi:
21-
rustup target add wasm32-wasi
21+
rustup target add wasm32-wasip1
2222

2323
# Install python3 pytest
2424
install-test-deps:
@@ -50,7 +50,7 @@ fix:
5050
cargo clippy --fix --allow-dirty
5151

5252
build-wasm:
53-
cargo build --target=wasm32-wasi --release
53+
cargo build --target=wasm32-wasip1 --release
5454

5555
build-lsp:
5656
cargo build --release --manifest-path tools/src/LSP/Cargo.toml

0 commit comments

Comments
 (0)