Expand description
Default-on crash interception and fixed-size pre-registration spool. Default-on crash capture (#636).
Calling [install] is the only arming point. Linking this crate installs
no constructor and touches no signal or exception state. Once armed, a
normal sampler thread keeps a bounded all-thread snapshot ready. The fatal
callback copies only the raw platform context into that preallocated
record and emits it with one OS write before returning Handled(false) so
the previously installed application handler still runs.
Modules§
- spool
- Fixed-layout crash records shared by the signal handler and daemon.
Structs§
- Crash
Guard - Keeps the native handler and sampler armed.
Enums§
- Crash
Policy - Crash interception policy. Calling
installarms it by default. - Install
Error - Local failure while arming crash capture.
Constants§
- NO_
CRASH_ HANDLER_ ENV - Environment opt-out checked before any crash state is created.
Functions§
- install
- Arm native crash capture unless policy or environment opts out.
- with_
handler_ suspended - Run a normal-context handler installation beneath the native crash layer.