Set the configuration used for the call stack.
(mut self, stack: StackConfig)
| 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 { |