From ff7b58f98c2fcd80a0cde68948e5d3fcf7b0f6c4 Mon Sep 17 00:00:00 2001 From: Valerii Hiora Date: Mon, 25 Aug 2014 13:45:07 +0300 Subject: [PATCH] Adopting FFI changes for iOS --- src/libstd/rand/os.rs | 1 + 1 file changed, 1 insertion(+) 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;