We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2d558 commit c4a0004Copy full SHA for c4a0004
2 files changed
build.rs
src/windows.rs
@@ -11,6 +11,7 @@ use core::{ffi::c_void, num::NonZeroU32, ptr};
11
12
const BCRYPT_USE_SYSTEM_PREFERRED_RNG: u32 = 0x00000002;
13
14
+#[link(name = "bcrypt")]
15
extern "system" {
16
fn BCryptGenRandom(
17
hAlgorithm: *mut c_void,
0 commit comments