-
Couldn't load subscription status.
- Fork 151
Removing HostFunctionDefinitions region #453
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
Removing HostFunctionDefinitions region #453
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with some questions
…nDefinitions memory region We only used the HostFunctionDefinitions region to validate that a host function exists before calling it. But, if the host function doesn't exist, we'll just exit anyway, so that utility is questionable. Signed-off-by: danbugs <[email protected]>
Because we no longer need to serialize those structures, I updated our flatbuffer schema. Signed-off-by: danbugs <[email protected]>
136c908 to
af6c1a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Feel free to ignore nit
Removed cfg options that became unused after PRs hyperlight-dev#451 , hyperlight-dev#453 , and hyperlight-dev#457 merged. Signed-off-by: danbugs <[email protected]>
We only used the
HostFunctionDefinitionsregion to validate that a host function exists before calling it. But, if the host function doesn't exist, we'll just exit anyway, so that utility is questionable. Also, with the removal of the region, because we no longer need to serialize thehost_function_*structures, I updated our Flatbuffer schema.