Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
22
pub fn capture() -> Backtrace {
23
if enabled() {
24
Backtrace::capture()
25
} else {
26
Backtrace::disabled()
27
}
28
}
Callers
3
standalone_backtrace
Function · 0.85
standalone_backtrace_disabled
Function · 0.85
new
Method · 0.85
Calls
1
enabled
Function · 0.85
Tested by
2
standalone_backtrace
Function · 0.68
standalone_backtrace_disabled
Function · 0.68