Skip to content

Commit

Permalink
Fixed iOS build after oibit
Browse files Browse the repository at this point in the history
  • Loading branch information
vhbit committed Dec 11, 2014
1 parent ab1b1ae commit 069a203
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustrt/libunwind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub use self::_Unwind_Action::*;
pub use self::_Unwind_State::*;
pub use self::_Unwind_Reason_Code::*;

use core::kinds::Copy;
use libc;

#[cfg(any(not(target_arch = "arm"), target_os = "ios"))]
Expand All @@ -33,6 +34,9 @@ pub enum _Unwind_Action {
_UA_END_OF_STACK = 16,
}

#[cfg(any(not(target_arch = "arm"), target_os = "ios"))]
impl Copy for _Unwind_Action {}

#[cfg(target_arch = "arm")]
#[repr(C)]
pub enum _Unwind_State {
Expand Down

0 comments on commit 069a203

Please sign in to comment.