Skip to content

Commit

Permalink
build(windows): don't link against powrprof
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jul 17, 2024
1 parent c78e2e6 commit edf5c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn main() {
// This will work on all supported Windows versions but it relies on
// us using `SetDefaultDllDirectories` before any libraries are loaded.
// See also: src/bin/rustup-init.rs
let delay_load_dlls = ["bcrypt", "powrprof", "secur32"];
let delay_load_dlls = ["bcrypt", "secur32"];
for dll in delay_load_dlls {
println!("cargo:rustc-link-arg-bin=rustup-init=/delayload:{dll}.dll");
}
Expand Down

0 comments on commit edf5c22

Please sign in to comment.