Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit e7a8759

Browse files
committed
fix: windows build failing due to missing advapi32
1 parent de30f9c commit e7a8759

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ fn main() {
166166

167167
if cfg!(target_os = "windows") {
168168
config.cxxflag("/utf-8");
169+
println!("cargo:rustc-link-lib=advapi32");
169170
}
170171

171172
if cfg!(feature = "coreml") {

0 commit comments

Comments
 (0)