File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ pub unsafe extern "C-unwind" fn __rust_start_panic(_payload: *mut &mut dyn BoxMe
65
65
//
66
66
// Note: this is the same implementation as in libstd's `abort_internal`
67
67
unsafe fn abort( ) -> ! {
68
+ #[ allow( unused) ]
68
69
const FAST_FAIL_FATAL_APP_EXIT : usize = 7 ;
69
70
cfg_if:: cfg_if! {
70
71
if #[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ] {
Original file line number Diff line number Diff line change @@ -289,6 +289,7 @@ pub fn dur2timeout(dur: Duration) -> c::DWORD {
289
289
/// that function for more information on `__fastfail`
290
290
#[ allow( unreachable_code) ]
291
291
pub fn abort_internal ( ) -> ! {
292
+ #[ allow( unused) ]
292
293
const FAST_FAIL_FATAL_APP_EXIT : usize = 7 ;
293
294
#[ cfg( not( miri) ) ] // inline assembly does not work in Miri
294
295
unsafe {
You can’t perform that action at this time.
0 commit comments