Skip to content

Commit 60ef4c1

Browse files
committed
Merge pull request #19729 from vhbit/ios-oibit-fix
Fixed iOS build after oibit Reviewed-by: alexcrichton
2 parents 4428c0e + b7ba69d commit 60ef4c1

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
@@ -128,5 +128,5 @@ pub mod shouldnt_be_public {
128128

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

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)