Skip to content

Commit 069a203

Browse files
committed
Fixed iOS build after oibit
1 parent ab1b1ae commit 069a203

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustrt/libunwind.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub use self::_Unwind_Action::*;
2121
pub use self::_Unwind_State::*;
2222
pub use self::_Unwind_Reason_Code::*;
2323

24+
use core::kinds::Copy;
2425
use libc;
2526

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

37+
#[cfg(any(not(target_arch = "arm"), target_os = "ios"))]
38+
impl Copy for _Unwind_Action {}
39+
3640
#[cfg(target_arch = "arm")]
3741
#[repr(C)]
3842
pub enum _Unwind_State {

0 commit comments

Comments
 (0)