Searched refs:max_frames (Results 1 – 2 of 2) sorted by relevance
261 if let Some(max_frames) = store.engine().config().wasm_backtrace_max_frames { in capture()266 Some(max_frames), in capture()285 let max_frames = store in force_capture() localVariable294 Some(max_frames), in force_capture()302 max_frames: Option<NonZeroUsize>, in from_captured()304 let Some(max_frames) = max_frames else { in from_captured()311 let mut wasm_trace = Vec::<FrameInfo>::with_capacity(max_frames.get()); in from_captured()317 if wasm_trace.len() >= max_frames.get() { in from_captured()
267 let max_frames = NonZeroUsize::new(32).unwrap(); in test_trap_stack_overflow() localVariable275 config.wasm_backtrace_max_frames(Some(max_frames)); in test_trap_stack_overflow()285 assert_eq!(trace.len(), max_frames.get()); in test_trap_stack_overflow()1834 fn run(max_frames: Option<NonZeroUsize>) -> wasmtime::Error { in test_wasm_backtrace_max_frames()1851 config.wasm_backtrace_max_frames(max_frames); in test_wasm_backtrace_max_frames()