Skip to content

Commit b7ba69d

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/librustrt/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,5 @@ pub mod shouldnt_be_public {
126126

127127
#[cfg(not(test))]
128128
mod std {
129-
pub use core::{fmt, option, cmp};
129+
pub use core::{fmt, option, cmp, kinds};
130130
}

src/librustrt/libunwind.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ use libc;
2525

2626
#[cfg(any(not(target_arch = "arm"), target_os = "ios"))]
2727
#[repr(C)]
28+
#[deriving(Copy)]
2829
pub enum _Unwind_Action {
2930
_UA_SEARCH_PHASE = 1,
3031
_UA_CLEANUP_PHASE = 2,

0 commit comments

Comments
 (0)