about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-26 15:56:08 +0000
committerbors <bors@rust-lang.org>2014-08-26 15:56:08 +0000
commit80b45ddbd351f0a4a939c3a3c4e20b4defec4b35 (patch)
treea94757626d1d2ea948ecbf9591af34d295d1c84a /src/libstd
parent3ae10596320666ff7ff0bd39a5920184d9b22c95 (diff)
parentff7b58f98c2fcd80a0cde68948e5d3fcf7b0f6c4 (diff)
downloadrust-80b45ddbd351f0a4a939c3a3c4e20b4defec4b35.tar.gz
rust-80b45ddbd351f0a4a939c3a3c4e20b4defec4b35.zip
auto merge of #16742 : vhbit/rust/ios-ffi-fix, r=alexcrichton
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rand/os.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index 2be4129883f..07ad08e1b3c 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -85,6 +85,7 @@ mod imp {
         marker: marker::NoCopy
     }
 
+    #[repr(C)]
     struct SecRandom;
 
     static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;