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

Method deep_clone

crates/wasmtime/src/runtime/code_memory.rs:632–635  ·  view source on GitHub ↗
(self: &Arc<Self>, engine: &Engine)

Source from the content-addressed store, hash-verified

630 /// global module registry and used for trap metadata lookups.
631 #[cfg(feature = "debug")]
632 pub(crate) fn deep_clone(self: &Arc<Self>, engine: &Engine) -> Result<CodeMemory> {
633 let mmap = self.mmap.deep_clone()?;
634 Self::new(engine, mmap)
635 }
636
637 /// Obtain a frame-table parser on this module's frame state slot
638 /// (debug instrumentation) metadata.

Callers 1

newMethod · 0.45

Calls 1

newFunction · 0.50

Tested by

no test coverage detected