From 893a114db54ec95c20596e485bc70dfeeeb2b66d Mon Sep 17 00:00:00 2001 From: Valerii Hiora Date: Mon, 6 Oct 2014 09:24:04 +0300 Subject: [PATCH] Fixed iOS build (statics name lint) --- 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 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")]