pub fn wasm_trace_from_current_stack() -> Vec<FrameInfo>
Captures the current Wasm stack trace. Only useful when there are active Wasm frames on the stack, such as in libcalls or imported functions.