MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / with_memory_backend

Method with_memory_backend

crates/tinywasm/src/engine.rs:134–137  ·  view source on GitHub ↗

Set the backend used for runtime memories.

(mut self, memory_backend: MemoryBackend)

Source from the content-addressed store, hash-verified

132
133 /// Set the backend used for runtime memories.
134 pub fn with_memory_backend(mut self, memory_backend: MemoryBackend) -> Self {
135 self.memory_backend = memory_backend;
136 self
137 }
138
139 /// Set the configuration used for the 32-bit value stack.
140 pub fn with_value_stack_32(mut self, stack: StackConfig) -> Self {

Calls

no outgoing calls