Skip to content

Make GuestBinary::Buffer variant take slice instead of owned vec #559

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Jun 3, 2025

This avoids copies if making several GuestBinaries from a single buffer. I will follow up this PR with another one that makes Uninitialized::new take a GuestBinary by reference instead of value

@ludfjig ludfjig added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Jun 3, 2025
@qbradley
Copy link
Contributor

qbradley commented Jun 4, 2025

Thanks!

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 4fdab8f into hyperlight-dev:main Jun 4, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants