bytecodealliance / bytecodealliance/cargo-component

Handle `wasi:cli/run` specially for a command component

Open
#135 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
593
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Right now if a command component is created and a world is included via:

```wit
package example:demo

world demo {
include wasi:cli/command
}
```

then the output component will expect a `Component` which implements the `wasi:cli/run` interface. This is already implicitly created for the "command" flavor of the component and the adapter, though, so could this world be modified in this situation implicitly by `cargo component` to avoid the requirment that `impl Guest for Component` is needed to compile?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.