Function wasm_encoder::reencode::utils::parse_import
source ยท pub fn parse_import<T: ?Sized + Reencode>(
reencoder: &mut T,
imports: &mut ImportSection,
import: Import<'_>,
) -> Result<(), Error<T::Error>>
Expand description
Parses the single wasmparser::Import
provided and adds it to the
import
section.