Skip to content

Conversation

@dicej
Copy link
Collaborator

@dicej dicej commented Jan 20, 2026

I'm preparing a Wasmtime PR which ensures that a thread and task is allocated every time a component is entered, regardless of whether the export is sync or async typed, sync or async lifted. Consequently, we get a slightly different trap in passing-resources.wast such that the passed handle is valid but not of the correct kind (i.e. it's a thread handle rather than a resource handle).

I'm preparing a Wasmtime PR which ensures that a thread and task is allocated
every time a component is entered, regardless of whether the export is sync or
async typed, sync or async lifted.  Consequently, we get a slightly different
trap in `passing-resources.wast` such that the passed handle is valid but not of
the correct kind (i.e. it's a thread handle rather than a resource handle).
@lukewagner lukewagner merged commit 0ab2a9a into WebAssembly:main Jan 20, 2026
1 check 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