Skip to content

Commit

Permalink
chore(wasmtime): rename wasm32-wasi to wasm32-wasip1
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Sep 16, 2024
1 parent 444c827 commit f443a70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/wasmtime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ target/x86_64-unknown-hermit/release/wasmi_demo: $(SOURCE_FILES) Cargo.* wasm/fi
--release

wasm/fib.wasm:
cd examples; cd fib; cargo build --target wasm32-wasi --release; cp target/wasm32-wasi/release/fib.wasm ../../wasm
cd examples; cd fib; cargo build --target wasm32-wasip1 --release; cp target/wasm32-wasip1/release/fib.wasm ../../wasm

.PHONY: clean
clean:
Expand Down
2 changes: 1 addition & 1 deletion examples/wasmtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() -> io::Result<()> {
.arg("build")
.arg("-Zunstable-options")
.arg("-Zbuild-std=std,panic_abort")
.arg("--target=wasm32-wasi")
.arg("--target=wasm32-wasip1")
.args(&["--package", package])
.arg("--release")
.arg("--target-dir=target")
Expand Down

0 comments on commit f443a70

Please sign in to comment.