Commit 62d3f4bd authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add Xargo support

parent b3a25bd3
......@@ -4,12 +4,13 @@ use interrupt;
#[lang = "eh_personality"]
extern "C" fn eh_personality() {}
pub extern "C" fn eh_personality() {}
/// Required to handle panics
#[lang = "panic_fmt"]
extern "C" fn panic_fmt(fmt: ::core::fmt::Arguments, file: &str, line: u32) -> ! {
pub extern "C" fn rust_begin_unwind(fmt: ::core::fmt::Arguments, file: &str, line: u32) -> ! {
println!("PANIC: {}", fmt);
println!("FILE: {}", file);
println!("LINE: {}", line);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment