Created
April 26, 2015 12:37
-
-
Save simias/e65feefce18b0f5ee256 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(lang_items)] | |
#![feature(no_std,core)] | |
#![no_std] | |
#![crate_type = "staticlib"] | |
extern crate core; | |
// Various lang items required by rustc | |
#[lang = "stack_exhausted"] | |
extern fn stack_exhausted() {} | |
#[lang = "eh_personality"] | |
extern fn eh_personality() {} | |
#[lang = "panic_fmt"] | |
fn panic_fmt() -> ! { loop {} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment