about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorValerii Hiora <valerii.hiora@gmail.com>2014-10-06 09:24:04 +0300
committerValerii Hiora <valerii.hiora@gmail.com>2014-10-06 09:25:01 +0300
commit893a114db54ec95c20596e485bc70dfeeeb2b66d (patch)
tree7b590220d642812bc6d187988da0e4bd6e2b5941 /src
parent6d15f28986e00e1a1b290b0f0fcf76c3f4e6e261 (diff)
downloadrust-893a114db54ec95c20596e485bc70dfeeeb2b66d.tar.gz
rust-893a114db54ec95c20596e485bc70dfeeeb2b66d.zip
Fixed iOS build (statics name lint)
Diffstat (limited to 'src')
-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")]