diff options
Diffstat (limited to 'src/rust')
| -rw-r--r-- | src/rust/Makefile | 4 | ||||
| -rw-r--r-- | src/rust/README.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rust/Makefile b/src/rust/Makefile index d2e705a..13ecdf5 100644 --- a/src/rust/Makefile +++ b/src/rust/Makefile @@ -3,8 +3,8 @@ include ../../shared.mk SDIR = src/rust rustlib: - $(PP_GEN) $(SDIR)/target/wasm32-wasi - $(v)cargo build --target=wasm32-wasi + $(PP_GEN) $(SDIR)/target/wasm32-wasip1 + $(v)cargo build --target=wasm32-wasip1 clean: rm -f Cargo.lock unit-wasm-sys/Cargo.lock diff --git a/src/rust/README.md b/src/rust/README.md index a48e2cd..2cf8721 100644 --- a/src/rust/README.md +++ b/src/rust/README.md @@ -9,7 +9,7 @@ cargo add unit-wasm ## Prerequisites -- target add wasm32-wasi. `rustup target add wasm32-wasi` +- target add wasm32-wasip1. `rustup target add wasm32-wasip1` ## From Source |
