From d89eca15718dec3d1ac4c9cd5691c0cc63dcf3c5 Mon Sep 17 00:00:00 2001 From: Erin Date: Thu, 2 Nov 2023 19:53:03 +0100 Subject: [PATCH] Exit --- hbxrt/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/hbxrt/src/main.rs b/hbxrt/src/main.rs index ac0c022..0afb807 100644 --- a/hbxrt/src/main.rs +++ b/hbxrt/src/main.rs @@ -46,6 +46,7 @@ fn main() -> Result<(), Box> { ) { unsafe { eprintln!("[E] Memory access fault at {:p}", (*info).si_addr()); + exit(2); } }