This commit is contained in:
Graham McIntire 2026-02-10 15:48:51 -06:00
parent 7bffbecd21
commit ab0db979a1
No known key found for this signature in database

View file

@ -141,9 +141,18 @@ fn install_crash_handler() {
}
}
libc::signal(libc::SIGSEGV, crash_handler as *const () as libc::sighandler_t);
libc::signal(libc::SIGBUS, crash_handler as *const () as libc::sighandler_t);
libc::signal(libc::SIGABRT, crash_handler as *const () as libc::sighandler_t);
libc::signal(
libc::SIGSEGV,
crash_handler as *const () as libc::sighandler_t,
);
libc::signal(
libc::SIGBUS,
crash_handler as *const () as libc::sighandler_t,
);
libc::signal(
libc::SIGABRT,
crash_handler as *const () as libc::sighandler_t,
);
}
}