about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-10-06 13:07:19 +0000
committerbors <bors@rust-lang.org>2014-10-06 13:07:19 +0000
commit0d94fdaeb8b16b0f34c4bc03e7f95a18ffffba75 (patch)
treee2ec7b74973e5d67a01fcdc837984550667101a7 /src/libstd
parent7ce1a17caddb5dc21b2aa2d457f8a5ddf019ba39 (diff)
parent893a114db54ec95c20596e485bc70dfeeeb2b66d (diff)
downloadrust-0d94fdaeb8b16b0f34c4bc03e7f95a18ffffba75.tar.gz
rust-0d94fdaeb8b16b0f34c4bc03e7f95a18ffffba75.zip
auto merge of #17814 : vhbit/rust/ios-build-fix, r=huonw
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 c5b7154ffdb..91308be21ed 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -88,6 +88,7 @@ mod imp {
     #[repr(C)]
     struct SecRandom;
 
+    #[allow(non_uppercase_statics)]
     static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
 
     #[link(name = "Security", kind = "framework")]