Skip to content

Updates for the latest hyperlight version#24

Merged
simongdavies merged 1 commit intomainfrom
update-to-latest-hyperlight
Mar 2, 2026
Merged

Updates for the latest hyperlight version#24
simongdavies merged 1 commit intomainfrom
update-to-latest-hyperlight

Conversation

@simongdavies
Copy link
Contributor

This pull request refactors how sandbox memory is configured and managed in the Hyperlight JS runtime. The main change is replacing the concept of a fixed "stack size" with a more flexible "scratch size" region, which includes stack space and other writable memory for the guest. Additionally, snapshot handling is improved by switching to Arc<Snapshot> for more efficient and safer snapshot sharing. Documentation and examples are updated to reflect these changes, and the error model is simplified by removing the explicit "stack overflow" error code.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies added the kind/dependencies Dependency updates label Feb 25, 2026
@simongdavies simongdavies merged commit 5cd2ab9 into main Mar 2, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants