wasm_encoder::reencode::utils

Function custom_section

source
pub fn custom_section<'a, T: ?Sized + Reencode>(
    _reencoder: &mut T,
    section: CustomSectionReader<'a>,
) -> CustomSection<'a>
Available on crate feature wasmparser only.
Expand description

Converts the input section given from the wasmparser crate into an encoded custom section.