Skip to content

Instead of requiring an example host, use wasmtime run --invoke #318

@pchickey

Description

@pchickey

Having an example host is useful for showing how a host can work. When showing how guests can export an add interface, though, you can run them with wasmtime run --invoke "add(1,2)" ..., making a custom host one less concept that the user has to think about.

https://github.com/bytecodealliance/component-docs/blob/main/component-model/src/language-support/javascript.md#running-the-component-in-the-example-host

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions