signal-backtrace

Crates.iosignal-backtrace
lib.rssignal-backtrace
version0.1.0
sourcesrc
created_at2022-07-29 14:56:21.985113
updated_at2022-07-29 14:56:21.985113
descriptionPrint a backtrace even when a fatal signal is received.
homepage
repositoryhttps://github.com/tommilligan/signal-backtrace
max_upload_size
id635044
size3,811
Tom Milligan (tommilligan)

documentation

https://docs.rs/signal-backtrace

README

signal-backtrace

Print a backtrace even when a fatal signal is received.

Usage

Install the global handler before your code crashes:

fn main() {
    signal_backtrace::install();

    // the rest of your code
}

Limitations

Only available on nightly.

Commit count: 5

cargo fmt