Print when abort is called

This commit is contained in:
Jeremy Soller
2020-12-23 11:20:07 -07:00
parent 5efaffe0f9
commit bddd69d0c1
+1
View File
@@ -89,6 +89,7 @@ pub unsafe extern "C" fn a64l(s: *const c_char) -> c_long {
#[no_mangle]
pub unsafe extern "C" fn abort() {
eprintln!("abort() called");
intrinsics::abort();
}