cargo-component icon indicating copy to clipboard operation
cargo-component copied to clipboard

Add a `cargo component serve` subcommand that uses a default runner of `wasmtime serve`

Open peterhuene opened this issue 10 months ago • 0 comments

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

peterhuene avatar Apr 18 '24 01:04 peterhuene