diff options
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/unwind.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstd/rt/unwind.rs b/src/libstd/rt/unwind.rs index 18298f1c7f4..dd4d3bbc5fc 100644 --- a/src/libstd/rt/unwind.rs +++ b/src/libstd/rt/unwind.rs @@ -160,6 +160,7 @@ pub fn panicking() -> bool { // An uninlined, unmangled function upon which to slap yer breakpoints #[inline(never)] #[no_mangle] +#[allow(private_no_mangle_fns)] fn rust_panic(cause: Box<Any + Send>) -> ! { rtdebug!("begin_unwind()"); @@ -237,6 +238,7 @@ pub mod eabi { #[lang="eh_personality"] #[no_mangle] // referenced from rust_try.ll + #[allow(private_no_mangle_fns)] extern fn rust_eh_personality( version: c_int, actions: uw::_Unwind_Action, @@ -252,6 +254,7 @@ pub mod eabi { } #[no_mangle] // referenced from rust_try.ll + #[allow(unexported_no_mangle)] pub extern "C" fn rust_eh_personality_catch( _version: c_int, actions: uw::_Unwind_Action, @@ -290,6 +293,7 @@ pub mod eabi { #[lang="eh_personality"] #[no_mangle] // referenced from rust_try.ll + #[allow(unexported_no_mangle)] pub extern "C" fn rust_eh_personality( version: c_int, actions: uw::_Unwind_Action, @@ -305,6 +309,7 @@ pub mod eabi { } #[no_mangle] // referenced from rust_try.ll + #[allow(unexported_no_mangle)] pub extern "C" fn rust_eh_personality_catch( _version: c_int, actions: uw::_Unwind_Action, @@ -343,6 +348,7 @@ pub mod eabi { #[lang="eh_personality"] #[no_mangle] // referenced from rust_try.ll + #[allow(unexported_no_mangle)] extern "C" fn rust_eh_personality( state: uw::_Unwind_State, ue_header: *mut uw::_Unwind_Exception, @@ -355,6 +361,7 @@ pub mod eabi { } #[no_mangle] // referenced from rust_try.ll + #[allow(unexported_no_mangle)] pub extern "C" fn rust_eh_personality_catch( state: uw::_Unwind_State, _ue_header: *mut uw::_Unwind_Exception, @@ -432,6 +439,7 @@ pub mod eabi { #[lang="eh_personality"] #[no_mangle] // referenced from rust_try.ll + #[allow(unexported_no_mangle)] extern "C" fn rust_eh_personality( exceptionRecord: *mut EXCEPTION_RECORD, establisherFrame: *mut c_void, @@ -446,6 +454,7 @@ pub mod eabi { } #[no_mangle] // referenced from rust_try.ll + #[allow(unexported_no_mangle)] pub extern "C" fn rust_eh_personality_catch( exceptionRecord: *mut EXCEPTION_RECORD, establisherFrame: *mut c_void, |
