Skip to content

Rename MultiUseSandbox -> Sandbox, UninitializedSandbox::evolve -> UninitializedSandbox::init #762

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jprendes
Copy link
Contributor

@jprendes jprendes commented Aug 4, 2025

Rename MultiUseSandbox as Sandbox.
Rename UninitializedSandbox::evolve as UninitializedSandbox::init

@jprendes jprendes added the kind/refactor For PRs that restructure or remove code without adding new functionality. label Aug 4, 2025
ludfjig
ludfjig previously approved these changes Aug 4, 2025
Copy link
Contributor

@ludfjig ludfjig left a comment

Choose a reason for hiding this comment

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

Lgtm. I am thinking we might want to take this chance to do other breaking changes such as determining which module Sandbox belongs to, and whether or not we want to any re-exports of Sandbox at all.

@@ -74,7 +74,7 @@ pub use error::HyperlightError;
/// Re-export for `MemMgrWrapper` type
/// A sandbox that can call be used to make multiple calls to guest functions,
/// and otherwise reused multiple times
pub use sandbox::MultiUseSandbox;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can take this chance to remove these reexports? I'm not sure there is a reason to keep these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I opened #765 to see what we want to expose as our public API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactor For PRs that restructure or remove code without adding new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants