@@ -160,6 +160,7 @@ pub fn panicking() -> bool {
160
160
// An uninlined, unmangled function upon which to slap yer breakpoints
161
161
#[ inline( never) ]
162
162
#[ no_mangle]
163
+ #[ allow( private_no_mangle_fns) ]
163
164
fn rust_panic ( cause : Box < Any + Send > ) -> ! {
164
165
rtdebug ! ( "begin_unwind()" ) ;
165
166
@@ -237,6 +238,7 @@ pub mod eabi {
237
238
238
239
#[ lang="eh_personality" ]
239
240
#[ no_mangle] // referenced from rust_try.ll
241
+ #[ allow( private_no_mangle_fns) ]
240
242
extern fn rust_eh_personality (
241
243
version : c_int ,
242
244
actions : uw:: _Unwind_Action ,
@@ -252,6 +254,7 @@ pub mod eabi {
252
254
}
253
255
254
256
#[ no_mangle] // referenced from rust_try.ll
257
+ #[ allow( unexported_no_mangle) ]
255
258
pub extern "C" fn rust_eh_personality_catch (
256
259
_version : c_int ,
257
260
actions : uw:: _Unwind_Action ,
@@ -290,6 +293,7 @@ pub mod eabi {
290
293
291
294
#[ lang="eh_personality" ]
292
295
#[ no_mangle] // referenced from rust_try.ll
296
+ #[ allow( unexported_no_mangle) ]
293
297
pub extern "C" fn rust_eh_personality (
294
298
version : c_int ,
295
299
actions : uw:: _Unwind_Action ,
@@ -305,6 +309,7 @@ pub mod eabi {
305
309
}
306
310
307
311
#[ no_mangle] // referenced from rust_try.ll
312
+ #[ allow( unexported_no_mangle) ]
308
313
pub extern "C" fn rust_eh_personality_catch (
309
314
_version : c_int ,
310
315
actions : uw:: _Unwind_Action ,
@@ -343,6 +348,7 @@ pub mod eabi {
343
348
344
349
#[ lang="eh_personality" ]
345
350
#[ no_mangle] // referenced from rust_try.ll
351
+ #[ allow( unexported_no_mangle) ]
346
352
extern "C" fn rust_eh_personality (
347
353
state : uw:: _Unwind_State ,
348
354
ue_header : * mut uw:: _Unwind_Exception ,
@@ -355,6 +361,7 @@ pub mod eabi {
355
361
}
356
362
357
363
#[ no_mangle] // referenced from rust_try.ll
364
+ #[ allow( unexported_no_mangle) ]
358
365
pub extern "C" fn rust_eh_personality_catch (
359
366
state : uw:: _Unwind_State ,
360
367
_ue_header : * mut uw:: _Unwind_Exception ,
@@ -432,6 +439,7 @@ pub mod eabi {
432
439
433
440
#[ lang="eh_personality" ]
434
441
#[ no_mangle] // referenced from rust_try.ll
442
+ #[ allow( unexported_no_mangle) ]
435
443
extern "C" fn rust_eh_personality (
436
444
exceptionRecord : * mut EXCEPTION_RECORD ,
437
445
establisherFrame : * mut c_void ,
@@ -446,6 +454,7 @@ pub mod eabi {
446
454
}
447
455
448
456
#[ no_mangle] // referenced from rust_try.ll
457
+ #[ allow( unexported_no_mangle) ]
449
458
pub extern "C" fn rust_eh_personality_catch (
450
459
exceptionRecord : * mut EXCEPTION_RECORD ,
451
460
establisherFrame : * mut c_void ,
0 commit comments