cargo-component
cargo-component copied to clipboard
Add a `cargo component serve` subcommand that uses a default runner of `wasmtime serve`
This would make running wasi:http
components easier.
Currently users have to set CARGO_TARGET_WASM32_WASI_RUNNER
environment variable to get it to work:
CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime serve" cargo component run