Skip to main content

BUNDLE_ENTRY_ALIGN

Constant BUNDLE_ENTRY_ALIGN 

Source
pub const BUNDLE_ENTRY_ALIGN: usize = 64;
Expand description

Alignment (bytes) applied to every entry payload and the index footer. Page alignment (64) preserves the interior page-alignment of embedded .q42 / .p64 / .10d files, so their own segment offsets stay aligned and mmap / zero-copy segment access into an entry is unaffected. This matches the Page alignment tier of the container_10d writer and p64_weight.