Skip to content

Commit b51f35e

Browse files
authored
format
1 parent e99c681 commit b51f35e

File tree

1 file changed

+2
-9
lines changed
  • std/src/sys/pal/windows

1 file changed

+2
-9
lines changed

Diff for: std/src/sys/pal/windows/c.rs

+2-9
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,9 @@ if #[cfg(not(target_vendor = "uwp"))] {
112112
#[cfg(not(target_vendor = "win7"))]
113113
#[cfg_attr(
114114
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")
115+
link(name = "bcryptprimitives", kind = "raw-dylib", import_name_type = "undecorated")
124116
)]
117+
#[cfg_attr(not(target_arch = "x86"), link(name = "bcryptprimitives", kind = "raw-dylib"))]
125118
extern "system" {
126119
pub fn ProcessPrng(pbdata: *mut u8, cbdata: usize) -> BOOL;
127120
}

0 commit comments

Comments
 (0)