From bab97905ccfa5aa7ceae1ee131b41b7113ea4f6a Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 16 Jun 2025 11:04:20 +0200 Subject: [PATCH] Upgrade to windows-bindgen 0.62 --- Cargo.toml | 2 +- tests/win_bindings.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 13eaceb8..a65345ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } diff --git a/tests/win_bindings.rs b/tests/win_bindings.rs index d3c2bc3a..9039a497 100644 --- a/tests/win_bindings.rs +++ b/tests/win_bindings.rs @@ -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