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

Method from_wasmtime

crates/wasmtime/src/runtime/instance.rs:353–357  ·  view source on GitHub ↗
(id: InstanceId, store: &mut StoreOpaque)

Source from the content-addressed store, hash-verified

351 }
352
353 pub(crate) fn from_wasmtime(id: InstanceId, store: &mut StoreOpaque) -> Instance {
354 Instance {
355 id: StoreInstanceId::new(store.id(), id),
356 }
357 }
358
359 fn start_raw<T>(&self, store: &mut StoreContextMut<'_, T>) -> Result<()> {
360 // If a start function is present, invoke it. Make sure we use all the

Callers

nothing calls this directly

Calls 2

newFunction · 0.50
idMethod · 0.45

Tested by

no test coverage detected