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

Method runtime_module

crates/wasmtime/src/runtime/vm/instance.rs:400–405  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

398 }
399
400 pub(crate) fn runtime_module(&self) -> Option<&crate::Module> {
401 match &self.runtime_info {
402 ModuleRuntimeInfo::Module(m) => Some(m),
403 ModuleRuntimeInfo::Bare(_) => None,
404 }
405 }
406
407 /// Translate a module-level interned type index into an engine-level
408 /// interned type index.

Callers 2

moduleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected