Skip to content

Track: wit-bindgen MoonBit multiple issues - async, flags, Option<T> (upstream #1517) #326

@avrabe

Description

@avrabe

Upstream Issue

bytecodealliance/wit-bindgen#1517

Problems Reported

  1. Async function bindings have issues
  2. Flags type generation problems
  3. Option<T> handling incorrect

Impact on rules_wasm_component

  • Affects moonbit_wasm_component rule
  • WIT interfaces using these features may not compile or behave incorrectly

Affected Rule

  • //moonbit:defs.bzl - moonbit_wasm_component

Workaround

Avoid async, flags, and Option types in MoonBit components until upstream fix.

Action Items

  • Document limitations in MoonBit guide
  • Monitor upstream fix
  • Update wit-bindgen when fix released

Labels

upstream-bug, moonbit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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