Skip to content

Conversation

@mythi
Copy link
Contributor

@mythi mythi commented Dec 2, 2025

Given enclave-cc deprecation, the Occlum libOS specific snapshotter used by enclave-cc is no longer needed.

Remove it along with the cargo features used to toggle between the two snapshotter implementations.

The Snapshotter trait object handling is kept but this could also be removed in the future. default_snapshotter setting in Image Config is kept but ignored for compatibility.

The Display impl for Snapshotter is also removed since it can be replaced with OverlayFS internals.

Given enclave-cc deprecation, the Occlum libOS specific snapshotter
used by enclave-cc is no longer needed.

Remove it along with the cargo features used to toggle between the
two snapshotter implementations.

The Snapshotter trait object handling is kept but this could also
be removed in the future. default_snapshotter setting in Image Config
is kept but ignored for compatibility.

The Display impl for Snapshotter is also removed since it can be
replaced with OverlayFS internals.

Signed-off-by: Mikko Ylinen <[email protected]>
@mythi mythi marked this pull request as ready for review December 2, 2025 11:08
@mythi mythi requested a review from a team as a code owner December 2, 2025 11:08
Copy link
Member

@Xynnn007 Xynnn007 left a comment

Choose a reason for hiding this comment

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

Thanks @mythi ! This would help us focus more on concrete targets. One nit but other places LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants