Home
last modified time | relevance | path

Searched refs:max_frames (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtrap.rs261 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() localVariable
294 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()
/wasmtime-44.0.1/tests/all/
H A Dtraps.rs267 let max_frames = NonZeroUsize::new(32).unwrap(); in test_trap_stack_overflow() localVariable
275 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()