Skip to content

Use native types when calling host functions #494

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jprendes
Copy link
Contributor

@jprendes jprendes commented May 15, 2025

This PR is dependent on #491.
I will mark this as ready to review once #491 is merged.

This PR changes the signature of MultiUseSandbox::call_guest_function_by_name and MultiUseGuestCallContext::call to use native Rust types instead of using ParamerValue and ReturnValue.

For a diff without the noise of the dependency PR see jprendes/hyperlight@jprendes:hyperlight:host_function_4...call_fn

Signed-off-by: Jorge Prendes <[email protected]>
@jprendes jprendes added kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. area/API Related to the API or public interface labels May 15, 2025
@jprendes jprendes force-pushed the call_fn branch 2 times, most recently from 478e443 to b1bf92e Compare May 15, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API Related to the API or public interface kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant