Function cranelift_wasm::type_to_type
source · pub fn type_to_type<PE: TargetEnvironment + ?Sized>(
ty: ValType,
environ: &PE
) -> WasmResult<Type>
Expand description
Helper function translating wasmparser types to Cranelift types when possible.