Function cls_allocator::add_dynamic_section
source · pub fn add_dynamic_section(
section: LoadedSection,
alignment: usize
) -> Result<(usize, Arc<LoadedSection>), LocalStorageInitializerError>
Expand description
Adds a dynamic CLS section to the global CLS initializer.
The CLS register will not be updated until either reload
or
reload_current_cpu
is called.