Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-26T23:49:27.000Z (10 months ago)
- Last Synced: 2024-01-27T00:44:45.273Z (10 months ago)
- Language: Rust
- Size: 2.93 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`