Function wasm_encoder::reencode::utils::parse_global

source ยท
pub fn parse_global<T: ?Sized + Reencode>(
    reencoder: &mut T,
    globals: &mut GlobalSection,
    global: Global<'_>,
) -> Result<(), Error<T::Error>>
Expand description

Parses the single wasmparser::Global provided and adds it to the globals section.