Skip to content

Combine resource, waitable, waitable-set, and error-context tables #11189

@dicej

Description

@dicej

#11127 adds runtime support for the Component Model async ABI, including support for the waitable, waitable-set, and error-context handle types. Currently, those live in separate tables from resources, but per WebAssembly/component-model#513, the spec says they should all be put into a single table per instance, so we need to update the implementation to match.

Note that the aforementioned PR also adds a new runtime/component/concurrent/states.rs file to the wasmtime crate which duplicates and modifies the runtime/vm/component/resources.rs file. We should be able to deduplicate those files as part of this work.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions