MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / capture

Function capture

crates/core/src/error/backtrace.rs:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21#[track_caller]
22pub fn capture() -> Backtrace {
23 if enabled() {
24 Backtrace::capture()
25 } else {
26 Backtrace::disabled()
27 }
28}

Callers 3

standalone_backtraceFunction · 0.85
newMethod · 0.85

Calls 1

enabledFunction · 0.85

Tested by 2

standalone_backtraceFunction · 0.68