File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ pub unsafe extern "C" fn __rust_start_panic(_payload: usize) -> u32 {
64
64
if #[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ] {
65
65
asm!( "int $$0x29" , in( "ecx" ) FAST_FAIL_FATAL_APP_EXIT ) ;
66
66
} else if #[ cfg( target_arch = "arm" ) ] {
67
- asm!( "brk 0xDEFB" , in( "r0" ) FAST_FAIL_FATAL_APP_EXIT ) ;
67
+ asm!( ".inst 0xDEFB" , in( "r0" ) FAST_FAIL_FATAL_APP_EXIT ) ;
68
68
} else if #[ cfg( target_arch = "aarch64" ) ] {
69
69
asm!( "brk 0xF003" , in( "x0" ) FAST_FAIL_FATAL_APP_EXIT ) ;
70
70
} else {
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ pub fn abort_internal() -> ! {
313
313
asm!( "int $$0x29" , in( "ecx" ) FAST_FAIL_FATAL_APP_EXIT ) ;
314
314
crate :: intrinsics:: unreachable( ) ;
315
315
} else if #[ cfg( target_arch = "arm" ) ] {
316
- asm!( "brk 0xDEFB" , in( "r0" ) FAST_FAIL_FATAL_APP_EXIT ) ;
316
+ asm!( ".inst 0xDEFB" , in( "r0" ) FAST_FAIL_FATAL_APP_EXIT ) ;
317
317
crate :: intrinsics:: unreachable( ) ;
318
318
} else if #[ cfg( target_arch = "aarch64" ) ] {
319
319
asm!( "brk 0xF003" , in( "x0" ) FAST_FAIL_FATAL_APP_EXIT ) ;
You can’t perform that action at this time.
0 commit comments