Skip to content

Commit edf5c22

Browse files
committed
build(windows): don't link against powrprof
1 parent c78e2e6 commit edf5c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
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", "powrprof", "secur32"];
56+
let delay_load_dlls = ["bcrypt", "secur32"];
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)