Skip to content

Deprecate the async opt? #1623

Closed
Closed

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

Activity

  1. added
    gen-rust
    async
    on Jun 1, 2026
  2. added a commit that references this issue on Oct 15, 2026
    ac8ff51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    asyncgen-rust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions