Windows: Update generated bindings to 0.59

This commit is contained in:
Chris Denton 2025-02-13 10:32:59 +00:00
parent cfe9ffcd7c
commit 26eeac1a1e
No known key found for this signature in database
GPG key ID: 713472F2F45627DE
6 changed files with 2805 additions and 2781 deletions

View file

@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021"
[dependencies.windows-bindgen]
version = "0.58.0"
version = "0.59.0"

View file

@ -29,8 +29,7 @@ fn main() -> Result<(), Box<dyn Error>> {
sort_bindings("bindings.txt")?;
let info = windows_bindgen::bindgen(["--etc", "bindings.txt"])?;
println!("{info}");
windows_bindgen::bindgen(["--etc", "bindings.txt"]);
let mut f = std::fs::File::options().append(true).open("windows_sys.rs")?;
f.write_all(ARM32_SHIM.as_bytes())?;