Skip to content

Commit

Permalink
Add README.md and fix compilation issue (rust-lang/rust#38281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Zhidkov committed Jan 16, 2017
1 parent f1f6b33 commit b8905fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Source: http://os.phil-opp.com/
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ pub extern "C" fn _Unwind_Resume() -> ! {
}

#[lang = "eh_personality"] extern fn eh_personality() {}
#[lang = "panic_fmt"] extern fn panic_fmt() -> ! { loop{}}

#[lang = "panic_fmt"]
#[no_mangle]
extern fn panic_fmt() -> ! { loop{}}

0 comments on commit b8905fb

Please sign in to comment.