From 5d60591a0032271272ecab58533b5748e4980362 Mon Sep 17 00:00:00 2001 From: est31 Date: Tue, 4 Jul 2017 20:07:38 +0200 Subject: [PATCH] Use the new panic_fmt abi Fixes a panic_fmt mismatch with newer rust compiler versions. --- src/lang_items.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lang_items.rs b/src/lang_items.rs index 236b2bd3..9ff95b59 100644 --- a/src/lang_items.rs +++ b/src/lang_items.rs @@ -5,6 +5,7 @@ unsafe extern "C" fn panic_fmt( _: ::core::fmt::Arguments, _: &'static str, _: u32, + _: u32, ) -> ! { ::core::intrinsics::abort() }