mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-30 14:32:19 +00:00
Upgrade to windows-bindgen 0.62
This commit is contained in:
parent
1762c71777
commit
bab97905cc
@ -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"] }
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user