Skip to content

Commit

Permalink
feat: Update Code
Browse files Browse the repository at this point in the history
  • Loading branch information
pipe.zkk committed Jun 12, 2024
1 parent 248cc57 commit 2295e51
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _posts/2024-04~06/2024-06-06-wasi.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ $ wasmtime demo.wasm
* https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-tutorial.md


# target

https://doc.rust-lang.org/rustc/platform-support/wasm32-wasip2.html

```sh
$ rustup target add wasm32-wasip2
$ rustc ./src/main.rs --target wasm32-wasip2
```

# References

* [WIT The Wasm Interface Type](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md)
Expand Down

0 comments on commit 2295e51

Please sign in to comment.