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

Method with_call_stack

crates/tinywasm/src/engine.rs:166–169  ·  view source on GitHub ↗

Set the configuration used for the call stack.

(mut self, stack: StackConfig)

Source from the content-addressed store, hash-verified

164
165 /// Set the configuration used for the call stack.
166 pub fn with_call_stack(mut self, stack: StackConfig) -> Self {
167 self.call_stack = stack;
168 self
169 }
170
171 /// Configure whether memory and stack allocation failures trap immediately.
172 pub fn with_trap_on_oom(mut self, trap_on_oom: bool) -> Self {

Callers 1

build_engineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected