Skip to content

Commit ff7b58f

Browse files
committed
Adopting FFI changes for iOS
1 parent 0b3e43d commit ff7b58f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/rand/os.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ mod imp {
8585
marker: marker::NoCopy
8686
}
8787

88+
#[repr(C)]
8889
struct SecRandom;
8990

9091
static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;

0 commit comments

Comments
 (0)