Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_enabled
Function
is_enabled
crates/stdlib/src/faulthandler.rs:779–781 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
777
// faulthandler_is_enabled
778
#[pyfunction]
779
fn is_enabled() -> bool {
780
FATAL_ERROR.enabled.load(Ordering::Relaxed)
781
}
782
783
fn format_timeout(timeout_us: u64) -> String {
784
let sec = timeout_us / 1_000_000;
Callers
1
register
Function · 0.70
Calls
4
load
Method · 0.45
lock
Method · 0.45
as_ref
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected