fix(pyrowave-sys): link user32 on Windows (Granite breadcrumbs MessageBoxA)

MSVC leg of the Phase-0 build gate verified on the windows-amd64 runner
(.133): full vendored C++ set compiles under MSVC, static link resolves,
API-version pin test green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-15 01:02:19 +02:00
parent 767f028bdf
commit 9724fb4a4e
+4
View File
@@ -84,6 +84,10 @@ fn main() {
println!("cargo:rustc-link-lib=dylib=dl");
println!("cargo:rustc-link-lib=dylib=pthread");
}
if target_os == "windows" {
// Granite's breadcrumbs tracker raises a MessageBoxA on device hang.
println!("cargo:rustc-link-lib=dylib=user32");
}
let bindings = bindgen::Builder::default()
.header("wrapper.h")