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

Function enabled

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

Source from the content-addressed store, hash-verified

4static ENABLED: AtomicBool = AtomicBool::new(true);
5
6fn enabled() -> bool {
7 ENABLED.load(Ordering::Relaxed)
8}
9
10/// Forcibly disable capturing backtraces dynamically.
11///

Callers 2

captureFunction · 0.85
stacksFunction · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected