File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ fn main() {
53
53
// This will work on all supported Windows versions but it relies on
54
54
// us using `SetDefaultDllDirectories` before any libraries are loaded.
55
55
// See also: src/bin/rustup-init.rs
56
- let delay_load_dlls = [ "bcrypt" , "powrprof" , " secur32"] ;
56
+ let delay_load_dlls = [ "bcrypt" , "secur32" ] ;
57
57
for dll in delay_load_dlls {
58
58
println ! ( "cargo:rustc-link-arg-bin=rustup-init=/delayload:{dll}.dll" ) ;
59
59
}
@@ -66,5 +66,5 @@ fn main() {
66
66
// Rust hides linker warnings meaning mistakes may go unnoticed.
67
67
// Turning them into errors forces them to be displayed (and the build to fail).
68
68
// If we do want to ignore specific warnings then `/IGNORE:` should be used.
69
- println ! ( "cargo:rustc-link-arg-bin=rustup-init=/WX" ) ;
69
+ println ! ( "cargo:cargo: rustc-link-arg-bin=rustup-init=/WX" ) ;
70
70
}
You can’t perform that action at this time.
0 commit comments