Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Use the new panic_fmt abi
Browse files Browse the repository at this point in the history
Fixes a panic_fmt mismatch with newer rust compiler versions.
  • Loading branch information
est31 committed Jul 4, 2017
1 parent 91c9906 commit 5d60591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lang_items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ unsafe extern "C" fn panic_fmt(
_: ::core::fmt::Arguments,
_: &'static str,
_: u32,
_: u32,
) -> ! {
::core::intrinsics::abort()
}
Expand Down

0 comments on commit 5d60591

Please sign in to comment.