Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dicej opened this issue Jan 28, 2025 · 0 comments
Open

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

dicej opened this issue Jan 28, 2025 · 0 comments
Assignees

Comments

@dicej
Copy link
Contributor

dicej commented Jan 28, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant