Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`