Function cls_allocator::add_static_section
source · pub fn add_static_section(
section: LoadedSection,
offset: usize,
total_static_storage_size: usize
) -> Result<StrongSectionRef, LocalStorageInitializerError>Expand description
Adds a CLS section with a pre-determined offset to the global CLS initializer.
The CLS register will not be updated until either reload or
reload_current_cpu is called.