Skip to content

Commit c4a0004

Browse files
authored
Replace build.rs with link attributes (#205)
1 parent 9b2d558 commit c4a0004

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

build.rs

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/windows.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use core::{ffi::c_void, num::NonZeroU32, ptr};
1111

1212
const BCRYPT_USE_SYSTEM_PREFERRED_RNG: u32 = 0x00000002;
1313

14+
#[link(name = "bcrypt")]
1415
extern "system" {
1516
fn BCryptGenRandom(
1617
hAlgorithm: *mut c_void,

0 commit comments

Comments
 (0)