Skip to content

Ensure that an async function matches - #1701

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
jfleitz:jfleitz/async-flag
Aug 28, 2026
Merged

Ensure that an async function matches#1701
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
jfleitz:jfleitz/async-flag

Conversation

@jfleitz

@jfleitz jfleitz commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

When testing with componentize-go, the wit-bindgen go generate was sometimes matching a sync vs async function def versus failing.

This change copies exactly what the rust version does here for Go, and updated the C and Moonbit as well.

Testing

Tested locally with componentize-go and using wasmCloud/go for a new NATS plugin.

Signed-off-by: Jeremy Fleitz [email protected]

@alexcrichton
alexcrichton added this pull request to the merge queue Aug 28, 2026
Merged via the queue into bytecodealliance:main with commit ecbbf34 Aug 28, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants