wasm_encoder::reencode::utils

Function parse_export

Source
pub fn parse_export<T: ?Sized + Reencode>(
    reencoder: &mut T,
    exports: &mut ExportSection,
    export: Export<'_>,
)
Available on crate feature wasmparser only.
Expand description

Parses the single wasmparser::Export provided and adds it to the exports section.