more #[no_mangle]

This commit is contained in:
Jorge Aparicio 2016-12-31 10:04:16 -05:00
parent 3992ed1e7a
commit 53da94d74f
1 changed files with 2 additions and 1 deletions

View File

@ -400,9 +400,10 @@ pub fn _Unwind_Resume() {}
// Lang items
#[cfg(not(test))]
#[lang = "eh_personality"]
#[no_mangle]
extern "C" fn eh_personality() {}
#[cfg(not(test))]
#[no_mangle]
#[lang = "panic_fmt"]
#[no_mangle]
extern "C" fn panic_fmt() {}