Skip to content

Instantly share code, notes, and snippets.

@simias
Created April 20, 2015 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simias/51a8b1f26c27b604b6ec to your computer and use it in GitHub Desktop.
Save simias/51a8b1f26c27b604b6ec to your computer and use it in GitHub Desktop.
#![feature(no_std,core)]
#![no_std]
#![crate_type = "staticlib"]
#![feature(lang_items)]
extern crate core;
fn main() {
}
#[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