The compilation process is still a little bit rough on the edges, we'll work on improving it. For the time being, please follow the steps detailed below.
- Install
wasm-tools
cargo install wasm-tools
- Compile your crate using a wasm32 target
cargo build --target=wasm32-unknown-unknown
- Use wasm-tools to turn the wasm module into a component
wasm-tools component new ./target/wasm32-wasi/debug/hollow-sundae-example.wasm -o hollow-sundae-example-component.wasm