Skip to content

[wasi] Confusing that async linker support is the default #8187

@rylev

Description

@rylev

When adding wasi or wasi-http support to a linker through the various add_to_linker functions, I was unaware that there was a sync module that offered the same functionality without requiring async instantiation. It is not obvious to me why the async flavor would be the default especially for wasi (one could argue that for wasi-http it does make sense for async to be the default). While it's more typing perhaps putting the async variant in its own module and requiring the user to explicitly select async or sync would make the API more intuitive.

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