From ab0db979a16eb777b89443d51c2d56ad5b5ed752 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 10 Feb 2026 15:48:51 -0600 Subject: [PATCH] format --- src/main.rs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index c67f492..9b9b06c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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, + ); } }