File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ This source source tree provides an example of WASM program with WASI mode.
1010
1111## How to build
1212
13- Add ` wasm32-wasi ` target for Rust toolchain:
13+ Add ` wasm32-wasip1 ` target for Rust toolchain:
1414
1515``` console
16- $ rustup target add wasm32-wasi
16+ $ rustup target add wasm32-wasip1
1717```
1818
1919Then, execute _ cargo build_ as follows:
2020
2121``` console
22- $ cargo build --target wasm32-wasi --release
22+ $ cargo build --target wasm32-wasip1 --release
2323```
2424
25- Finally, under target/wasm32-wasi /release directory, ` *.wasm ` file will be created:
25+ Finally, under target/wasm32-wasip1 /release directory, ` *.wasm ` file will be created:
2626
2727``` console
28- $ ls target/wasm32-wasi /release/* .wasm
29- target/wasm32-wasi /release/wasi_serde_json.wasm
28+ $ ls target/wasm32-wasip1 /release/* .wasm
29+ target/wasm32-wasip1 /release/wasi_serde_json.wasm
3030```
3131
3232## How to confirm WASI integration
You can’t perform that action at this time.
0 commit comments