Skip to content

Allow compiling Wasm components with worlds besides wasi:cli/command #4843

Open
@ouillie

Description

@ouillie

AFAICT, TinyGo already supports the Wasm component model, but only if you're compiling a component for the wasi:cli/command world. That's hardwired into the wasip2 target.

What about compiling components with a different WIT interface? Is that something other people already know how to do, but it's just not well documented? Or are there changes that have to be made? I'm happy to help develop this, but would appreciate some pointers from anybody with context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwasmWebAssembly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions