Function wasmtime_environ::wasm::type_to_type[][src]

pub fn type_to_type<PE>(ty: Type, environ: &PE) -> Result<Type, WasmError> where
    PE: TargetEnvironment + ?Sized
Expand description

Helper function translating wasmparser types to Cranelift types when possible.