https://github.com/kanarus/wasi-preview2-helloworld-component-wat
A minimum WAT of a WASM Component printing `Hello, world!` via `wasi:cli/run` of WASI Preview 2
https://github.com/kanarus/wasi-preview2-helloworld-component-wat
minimum wasi wasi-preview-2 wasm wasm-component wat
Last synced: 8 months ago
JSON representation
A minimum WAT of a WASM Component printing `Hello, world!` via `wasi:cli/run` of WASI Preview 2
- Host: GitHub
- URL: https://github.com/kanarus/wasi-preview2-helloworld-component-wat
- Owner: kanarus
- Created: 2024-10-07T00:20:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-07T00:33:54.000Z (over 1 year ago)
- Last Synced: 2025-05-07T06:57:46.841Z (about 1 year ago)
- Topics: minimum, wasi, wasi-preview-2, wasm, wasm-component, wat
- Language: WebAssembly
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A minimum WAT (WASM Text format) of a WASM Component printing `Hello, world!` via `wasi:cli/run` of WASI Preview 2.
```sh
wasm-tools parse helloworld.wat -o helloworld.wasm && wasmtime run helloworld.wasm
```
```
Hello, world!
```