Skip to content

Commit 893a114

Browse files
committed
Fixed iOS build (statics name lint)
1 parent 6d15f28 commit 893a114

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)