Upgrade to windows-bindgen 0.62

This commit is contained in:
Dirkjan Ochtman 2025-06-16 11:04:20 +02:00
parent 1762c71777
commit bab97905cc
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ js-sys = { version = "0.3", optional = true } # contains FFI bindings for
windows-link = { version = "0.1", optional = true }
[target.'cfg(windows)'.dev-dependencies]
windows-bindgen = { version = "0.61" } # MSRV is 1.74
windows-bindgen = { version = "0.62" } # MSRV is 1.74
[target.'cfg(unix)'.dependencies]
iana-time-zone = { version = "0.1.45", optional = true, features = ["fallback"] }

View File

@ -9,7 +9,7 @@ fn gen_bindings() {
let output = "src/offset/local/win_bindings.rs";
let existing = fs::read_to_string(output).unwrap();
bindgen(["--no-deps", "--etc", input]);
bindgen(["--no-deps", "--etc", input]).unwrap();
// Check the output is the same as before.
// Depending on the git configuration the file may have been checked out with `\r\n` newlines or