MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / typecheck

Method typecheck

crates/wasmtime/src/runtime/component/func/host.rs:243–245  ·  view source on GitHub ↗
(&self, ty: TypeFuncIndex, types: &InstanceType<'_>)

Source from the content-addressed store, hash-verified

241 }
242
243 pub fn typecheck(&self, ty: TypeFuncIndex, types: &InstanceType<'_>) -> Result<()> {
244 (self.typecheck)(ty, types)
245 }
246
247 pub fn lowering(&self) -> VMLowering {
248 let data = NonNull::from(&*self.func).cast();

Callers

nothing calls this directly

Calls 4

OkFunction · 0.85
typecheckFunction · 0.50
TupleClass · 0.50
contextMethod · 0.45

Tested by

no test coverage detected