Skip to content

Commit 590e574

Browse files
committed
Update delay loaded DLLs
1 parent f9edccd commit 590e574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn main() {
5353
// This will work on all supported Windows versions but it relies on
5454
// us using `SetDefaultDllDirectories` before any libraries are loaded.
5555
// See also: src/bin/rustup-init.rs
56-
let delay_load_dlls = ["bcrypt", "secur32"];
56+
let delay_load_dlls = ["bcrypt", "api-ms-win-core-synch-l1-2-0"];
5757
for dll in delay_load_dlls {
5858
println!("cargo:rustc-link-arg-bin=rustup-init=/delayload:{dll}.dll");
5959
}

0 commit comments

Comments
 (0)