Skip to content

feat(docs): add check to stop sync exports from calling async imports… - #14980

Open
asteurer wants to merge 1 commit into
bytecodealliance:mainfrom
asteurer:bindgen-update
Open

asteurer wants to merge 1 commit into
bytecodealliance:mainfrom
asteurer:bindgen-update

Conversation

@asteurer

Copy link
Copy Markdown

Partially completes #13768.

Summary

  • Adds an additional error to the component::bindgen macro to prevent sync exports from calling async imports, as well as documentation explaining this behavior.
  • Adds documentation demonstrating the syntax that's used to flag the resource method types.

… + updated docs

Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
@asteurer
asteurer requested a review from a team as a code owner October 24, 2026 07:12
@asteurer
asteurer requested review from pchickey and removed request for a team October 24, 2026 07:12
@github-actions github-actions Bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Oct 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant