Fix compile errors for ARM.
This commit is contained in:
parent
e493027984
commit
96d1db2b1a
2 changed files with 4 additions and 2 deletions
|
@ -36,6 +36,7 @@ pub enum _Unwind_Action {
|
|||
|
||||
#[cfg(target_arch = "arm")]
|
||||
#[repr(C)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum _Unwind_State {
|
||||
_US_VIRTUAL_UNWIND_FRAME = 0,
|
||||
_US_UNWIND_FRAME_STARTING = 1,
|
||||
|
@ -46,6 +47,7 @@ pub enum _Unwind_State {
|
|||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum _Unwind_Reason_Code {
|
||||
_URC_NO_REASON = 0,
|
||||
_URC_FOREIGN_EXCEPTION_CAUGHT = 1,
|
||||
|
|
|
@ -179,8 +179,8 @@ pub mod eabi {
|
|||
}
|
||||
else { // cleanup phase
|
||||
unsafe {
|
||||
__gcc_personality_sj0(_version, actions, _exception_class, _ue_header,
|
||||
_context)
|
||||
__gcc_personality_sj0(version, actions, exception_class, ue_header,
|
||||
context)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue