Skip to content

Deprecate the async opt? #1623

@lann

Description

@lann

WebAssembly/component-model#646 forbids the async canonopt with non-async functions. This makes the async opt to e.g. rust generate! look odd since "positive" overrides (like async: true) are always no-ops now (right?). "Negative" overrides are still meaningful but it seems like it would be less confusing for those to move to a new opt (!async: [...]? 🤷).

Regardless of what is done with the async opt in the long run it might make sense to start emitting warnings for positive overrides now, especially async: true.

Ref #1622

Metadata

Metadata

Assignees

No one assigned

    Labels

    asyncRelated to async/streams in the component model.gen-rustRelated to bindings for Rust-compiled-to-WebAssembly

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions