Skip to content

Conversation

syntactically
Copy link
Member

This should fix a bunch of issues including those that #829 was getting at.

…unctions

Previously, the guest could acquire and use host resources through
host function calls, but the original call from the host into the
guest could not pass in owned or borrowed host resources.  This commit
fixes in a number of bugs in order to make that possible, and adds
rudimentary tests to witguest.

Signed-off-by: Lucy Menon <[email protected]>
Previously, it still passed an extra config parameter when running
bench-ci, which caused issues.

Signed-off-by: Lucy Menon <[email protected]>
@syntactically syntactically added the kind/bugfix For PRs that fix bugs label Aug 28, 2025
@syntactically syntactically force-pushed the lm/pass-host-resources-to-guests branch from e57d266 to b7e0481 Compare August 28, 2025 20:22
@jprendes
Copy link
Contributor

I ran the updated code against the wasi:http demo and it works.
https://github.com/jprendes/hyperlight-wasm-http-example

Copy link
Contributor

@jprendes jprendes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jprendes jprendes merged commit 828a529 into main Aug 28, 2025
59 of 64 checks passed
@jprendes jprendes deleted the lm/pass-host-resources-to-guests branch August 28, 2025 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bugfix For PRs that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants