mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
auto merge of #17814 : vhbit/rust/ios-build-fix, r=huonw
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