Skip to main content

Module runtime

Module runtime 

Source

Functions§

assert_memory_bootstrap_ready
Panic if a stable-memory slot is touched before memory bootstrap is ready.
defer_tls_initializer
Register a TLS initializer function for eager execution.
has_test_bootstrap_hook
Return whether a test bootstrap hook has been installed.
init_eager_tls
Run all deferred TLS initializers and clear the registry.
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.