wasm_encoder::reencode::component_utils

Function parse_component_import_section

source
pub fn parse_component_import_section<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    imports: &mut ComponentImportSection,
    section: ComponentImportSectionReader<'_>,
) -> Result<(), Error<T::Error>>
Available on crate features component-model and wasmparser only.