Skip to content

Commit 0d94fda

Browse files
committed
auto merge of #17814 : vhbit/rust/ios-build-fix, r=huonw
2 parents 7ce1a17 + 893a114 commit 0d94fda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/rand/os.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ mod imp {
8888
#[repr(C)]
8989
struct SecRandom;
9090

91+
#[allow(non_uppercase_statics)]
9192
static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
9293

9394
#[link(name = "Security", kind = "framework")]

0 commit comments

Comments
 (0)