Function wasm_encoder::reencode::utils::parse_global_section
source ยท pub fn parse_global_section<T: ?Sized + Reencode>(
reencoder: &mut T,
globals: &mut GlobalSection,
section: GlobalSectionReader<'_>,
) -> Result<(), Error<T::Error>>
Expand description
Parses the input section
given from the wasmparser
crate and adds
all the globals to the globals
section.