@@ -160,6 +160,7 @@ pub fn panicking() -> bool {
160160// An uninlined, unmangled function upon which to slap yer breakpoints
161161#[ inline( never) ]
162162#[ no_mangle]
163+ #[ allow( private_no_mangle_fns) ]
163164fn rust_panic ( cause : Box < Any + Send > ) -> ! {
164165 rtdebug ! ( "begin_unwind()" ) ;
165166
@@ -237,6 +238,7 @@ pub mod eabi {
237238
238239 #[ lang="eh_personality" ]
239240 #[ no_mangle] // referenced from rust_try.ll
241+ #[ allow( private_no_mangle_fns) ]
240242 extern fn rust_eh_personality (
241243 version : c_int ,
242244 actions : uw:: _Unwind_Action ,
@@ -252,6 +254,7 @@ pub mod eabi {
252254 }
253255
254256 #[ no_mangle] // referenced from rust_try.ll
257+ #[ allow( unexported_no_mangle) ]
255258 pub extern "C" fn rust_eh_personality_catch (
256259 _version : c_int ,
257260 actions : uw:: _Unwind_Action ,
@@ -290,6 +293,7 @@ pub mod eabi {
290293
291294 #[ lang="eh_personality" ]
292295 #[ no_mangle] // referenced from rust_try.ll
296+ #[ allow( unexported_no_mangle) ]
293297 pub extern "C" fn rust_eh_personality (
294298 version : c_int ,
295299 actions : uw:: _Unwind_Action ,
@@ -305,6 +309,7 @@ pub mod eabi {
305309 }
306310
307311 #[ no_mangle] // referenced from rust_try.ll
312+ #[ allow( unexported_no_mangle) ]
308313 pub extern "C" fn rust_eh_personality_catch (
309314 _version : c_int ,
310315 actions : uw:: _Unwind_Action ,
@@ -343,6 +348,7 @@ pub mod eabi {
343348
344349 #[ lang="eh_personality" ]
345350 #[ no_mangle] // referenced from rust_try.ll
351+ #[ allow( unexported_no_mangle) ]
346352 extern "C" fn rust_eh_personality (
347353 state : uw:: _Unwind_State ,
348354 ue_header : * mut uw:: _Unwind_Exception ,
@@ -355,6 +361,7 @@ pub mod eabi {
355361 }
356362
357363 #[ no_mangle] // referenced from rust_try.ll
364+ #[ allow( unexported_no_mangle) ]
358365 pub extern "C" fn rust_eh_personality_catch (
359366 state : uw:: _Unwind_State ,
360367 _ue_header : * mut uw:: _Unwind_Exception ,
@@ -432,6 +439,7 @@ pub mod eabi {
432439
433440 #[ lang="eh_personality" ]
434441 #[ no_mangle] // referenced from rust_try.ll
442+ #[ allow( unexported_no_mangle) ]
435443 extern "C" fn rust_eh_personality (
436444 exceptionRecord : * mut EXCEPTION_RECORD ,
437445 establisherFrame : * mut c_void ,
@@ -446,6 +454,7 @@ pub mod eabi {
446454 }
447455
448456 #[ no_mangle] // referenced from rust_try.ll
457+ #[ allow( unexported_no_mangle) ]
449458 pub extern "C" fn rust_eh_personality_catch (
450459 exceptionRecord : * mut EXCEPTION_RECORD ,
451460 establisherFrame : * mut c_void ,
0 commit comments