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

Method static_module

crates/wasmtime/src/runtime/component/component.rs:490–492  ·  view source on GitHub ↗
(&self, idx: StaticModuleIndex)

Source from the content-addressed store, hash-verified

488 }
489
490 pub(crate) fn static_module(&self, idx: StaticModuleIndex) -> &Module {
491 &self.inner.static_modules[idx]
492 }
493
494 #[cfg(any(feature = "profiling", feature = "debug"))]
495 pub(crate) fn static_modules(&self) -> impl Iterator<Item = &Module> {

Callers 3

get_moduleMethod · 0.80
runMethod · 0.80
resources_requiredMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected