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

Method with_value_stack

crates/tinywasm/src/engine.rs:146–151  ·  view source on GitHub ↗

Set the same configuration for all value stack lanes.

(mut self, stack: StackConfig)

Source from the content-addressed store, hash-verified

144
145 /// Set the same configuration for all value stack lanes.
146 pub fn with_value_stack(mut self, stack: StackConfig) -> Self {
147 self.value_stack_32 = stack;
148 self.value_stack_64 = stack;
149 self.value_stack_128 = stack;
150 self
151 }
152
153 /// Set the configuration used for the 64-bit value stack.
154 pub fn with_value_stack_64(mut self, stack: StackConfig) -> Self {

Callers 1

build_engineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected