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,
Helper function translating wasmparser types to Cranelift types when possible.