We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0afdaf1 commit 867392aCopy full SHA for 867392a
3 files changed
.clippy.toml
@@ -1 +1 @@
1
-msrv = "1.38"
+msrv = "1.56"
src/windows.rs
@@ -26,6 +26,7 @@ use core::mem::MaybeUninit;
26
// bcryptprimitives.dll lacks an import library, we use the windows-targets
27
// crate to link to it.
28
windows_targets::link!("bcryptprimitives.dll" "system" fn ProcessPrng(pbdata: *mut u8, cbdata: usize) -> BOOL);
29
+#[allow(clippy::upper_case_acronyms)]
30
pub type BOOL = i32;
31
pub const TRUE: BOOL = 1i32;
32
src/windows7.rs
@@ -19,6 +19,7 @@ extern "system" {
19
#[link_name = "SystemFunction036"]
20
fn RtlGenRandom(randombuffer: *mut c_void, randombufferlength: u32) -> BOOLEAN;
21
}
22
23
type BOOLEAN = u8;
24
const TRUE: BOOLEAN = 1u8;
25
0 commit comments