Expand description
Module: memory::runtime
Responsibility: enforce memory bootstrap readiness before lazy store access. Does not own: stable schema definitions, allocation policy, or lifecycle hooks. Boundary: macros and lifecycle call this before stable-memory-backed statics are used.
Functions§
- assert_
memory_ bootstrap_ ready - Panic if a stable-memory slot is touched before memory bootstrap is ready.
- has_
test_ bootstrap_ hook - Return whether a test bootstrap hook has been installed.
- install_
test_ bootstrap_ hook - Install a test-only hook that can run the crate’s normal memory bootstrap before host unit tests first touch macro-backed stable memory.
- is_
memory_ bootstrap_ ready - Return whether memory access is currently allowed during bootstrap.