Skip to main content

static_memory_declaration_snapshot

Function static_memory_declaration_snapshot 

Source
pub fn static_memory_declaration_snapshot() -> Result<DeclarationSnapshot, StaticMemoryDeclarationError>
Expand description

Seal currently registered static allocation declarations into a snapshot.

Sealing prevents later static registrations from being accepted. Callers may still call this function again to rebuild the same snapshot for idempotent bootstrap paths.