Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Commit

Permalink
Remove lang_items that disappeared from new rust
Browse files Browse the repository at this point in the history
  • Loading branch information
agalakhov committed May 13, 2016
1 parent 06dc137 commit e074f5e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/util/lang_items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,10 @@
#[cfg(all(not(test), not(feature = "test")))]
use core::fmt::Arguments;

#[cfg(all(not(test), not(feature = "test")))]
#[lang="stack_exhausted"]
extern fn stack_exhausted() {}

#[cfg(all(not(test), not(feature = "test")))]
#[lang="eh_personality"]
extern fn eh_personality() {}

#[cfg(all(not(test), not(feature = "test")))]
#[lang="begin_unwind"]
extern fn begin_unwind() {}

#[cfg(all(not(test), not(feature = "test")))]
#[lang="panic_fmt"]
pub fn panic_fmt(_fmt: &Arguments, _file_line: &(&'static str, usize)) -> ! {
Expand Down

0 comments on commit e074f5e

Please sign in to comment.