Skip to content

Handle asyncness of core functions more often - #14758

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:more-require-async
Oct 15, 2026
Merged

alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:more-require-async

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit fixes an issue where if Linker::get were used to acquire a Func for a host-async function it forgot to set that async was required within the store. The fix here is to push the code for handling this into a shared location with where it's already called.

This commit fixes an issue where if `Linker::get` were used to acquire a
`Func` for a host-async function it forgot to set that async was
required within the store. The fix here is to push the code for handling
this into a shared location with where it's already called.
@alexcrichton
alexcrichton requested a review from a team as a code owner October 14, 2026 22:59
@alexcrichton
alexcrichton requested review from pchickey and removed request for a team October 14, 2026 22:59
@github-actions github-actions Bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Oct 15, 2026
@alexcrichton
alexcrichton added this pull request to the merge queue Oct 15, 2026
Merged via the queue into bytecodealliance:main with commit cd16cfe Oct 15, 2026
53 checks passed
@alexcrichton
alexcrichton deleted the more-require-async branch October 15, 2026 14:56
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.

2 participants