Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle wasi:cli/run specially for a command component #135

Open
alexcrichton opened this issue Sep 5, 2023 · 0 comments
Open

Handle wasi:cli/run specially for a command component #135

alexcrichton opened this issue Sep 5, 2023 · 0 comments

Comments

@alexcrichton
Copy link
Member

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

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant