Rollup merge of #139382 - ChrisDenton:windows-bindgen-0-61, r=Mark-Simulacrum

Update windows-bindgen to 0.61.0

This updates the automatically generate Windows API bindings. Not much changed this time:

- There's now `Default` implementations for many types, which is convenient. It does however conflict with one place where we implemented a non-zeroed default (to set the length field). But that's no big problem.
- The `--no-core` flag has been renamed to `--no-deps` to more accurately reflect its meaning (i.e. generate all necessary code without requiring additional dependencies).
- The `--link` flag allows us to set the location of the `link!` macro. Currently we use our workspace's `windows_targets` crate but we could move it into library/std using `--link`. However, this would need to be co-ordinated with the `backtrace` crate (which is a separate crate but included in std using `#[path]`). So I've left that for another time.
This commit is contained in:
Chris Denton 2025-04-12 21:05:29 +00:00 committed by GitHub
commit 096369d97f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 290 additions and 31 deletions

View file

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