Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#![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