wasm_encoder::reencode::component_utils

Function parse_instance_section

Source
pub fn parse_instance_section<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    instances: &mut InstanceSection,
    section: InstanceSectionReader<'_>,
) -> Result<(), Error<T::Error>>
Available on crate features component-model and wasmparser only.