https://github.com/mossaka/wasm-component-hello-world
This is a hello world component that targets `wasi:cli/command` world
https://github.com/mossaka/wasm-component-hello-world
Last synced: 4 months ago
JSON representation
This is a hello world component that targets `wasi:cli/command` world
- Host: GitHub
- URL: https://github.com/mossaka/wasm-component-hello-world
- Owner: Mossaka
- Created: 2024-01-10T23:22:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-26T23:49:27.000Z (over 1 year ago)
- Last Synced: 2025-01-30T15:17:14.638Z (6 months ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wasm component hello world
To build the wasm component, you need to install the rust toolchain and the wasm32-wasi target and `cargo-component`:
```bash
rustup target add wasm32-wasi
cargo install cargo-component
```Then you can build the wasm component with:
```bash
cargo component build --release
```the wasm component artifact is located at `target/wasm32-wasi/release/component-hello-world.wasm`