Skip to content

Support Abi::Array when compiling calls to async intrinsics #10143

@dicej

Description

@dicej

Part of the component model async implementation work involves adding support to wasmtime-cranelift for intrinsic functions such as task.return, stream.new, etc. Although we expect those intrinsics to normally only be called by Wasm code, it's possible that a module could directly export its import of a given intrinsic, allowing the host to call it directly. In that case, we need to support the array ABI.

As of this writing, not enough async support has been merged into main to test such a scenario, but we should test and support it once we are able to.

See #10106 (comment) for details.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions