mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
Fixed iOS build (statics name lint)
This commit is contained in:
@@ -88,6 +88,7 @@ pub struct OsRng {
|
||||
#[repr(C)]
|
||||
struct SecRandom;
|
||||
|
||||
#[allow(non_uppercase_statics)]
|
||||
static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
|
||||
|
||||
#[link(name = "Security", kind = "framework")]
|
||||
|
||||
Reference in New Issue
Block a user