Skip to content

Commit 5dccbcd

Browse files
committed
Update snapshot-versioning.md
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
1 parent 87f578f commit 5dccbcd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/snapshot-versioning.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ The config blob also records `hyperlight_version`, the `CARGO_PKG_VERSION`
4444
of the host crate at write time. This is informational only. The loader
4545
records it for diagnostics and does not gate loading on it.
4646

47+
## Compatibility cleanup
48+
49+
Record compatibility paths here when a future hard snapshot break can remove
50+
them.
51+
52+
### Original ELF entry point
53+
54+
The persisted `original_entrypoint_addr` field defaults to zero so snapshots
55+
made before it was added remain loadable. At the next hard break, make the
56+
field required, remove `serde(default)`, and reject zero as an invalid entry
57+
point rather than treating it as unknown.
58+
4759
## Enforcement
4860

4961
The format is large and easy to change by accident. Two mechanisms

0 commit comments

Comments
 (0)