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

Add Xargo support

parent b3a25bd3
[dependencies.alloc]
[dependencies.collections]
...@@ -4,12 +4,13 @@ use interrupt; ...@@ -4,12 +4,13 @@ use interrupt;
#[cfg(not(test))] #[cfg(not(test))]
#[lang = "eh_personality"] #[lang = "eh_personality"]
extern "C" fn eh_personality() {} pub extern "C" fn eh_personality() {}
#[cfg(not(test))] #[cfg(not(test))]
/// Required to handle panics /// Required to handle panics
#[lang = "panic_fmt"] #[lang = "panic_fmt"]
extern "C" fn panic_fmt(fmt: ::core::fmt::Arguments, file: &str, line: u32) -> ! { #[no_mangle]
pub extern "C" fn rust_begin_unwind(fmt: ::core::fmt::Arguments, file: &str, line: u32) -> ! {
println!("PANIC: {}", fmt); println!("PANIC: {}", fmt);
println!("FILE: {}", file); println!("FILE: {}", file);
println!("LINE: {}", line); 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