We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e99c681 commit b51f35eCopy full SHA for b51f35e
std/src/sys/pal/windows/c.rs
@@ -112,16 +112,9 @@ if #[cfg(not(target_vendor = "uwp"))] {
112
#[cfg(not(target_vendor = "win7"))]
113
#[cfg_attr(
114
target_arch = "x86",
115
- link(
116
- name = "bcryptprimitives",
117
- kind = "raw-dylib",
118
- import_name_type = "undecorated"
119
- )
120
-)]
121
-#[cfg_attr(
122
- not(target_arch = "x86"),
123
- link(name = "bcryptprimitives", kind = "raw-dylib")
+ link(name = "bcryptprimitives", kind = "raw-dylib", import_name_type = "undecorated")
124
)]
+#[cfg_attr(not(target_arch = "x86"), link(name = "bcryptprimitives", kind = "raw-dylib"))]
125
extern "system" {
126
pub fn ProcessPrng(pbdata: *mut u8, cbdata: usize) -> BOOL;
127
}
0 commit comments