about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChris Denton <christophersdenton@gmail.com>2025-04-12 21:05:29 +0000
committerGitHub <noreply@github.com>2025-04-12 21:05:29 +0000
commit096369d97f108eeeef5be05f6e99f208c8916fc8 (patch)
tree39c02d0009384eb3d90760ca41f434a439b682f1 /src
parent0149a43f8a6984460d8cc5272dd09dfe0c3c2354 (diff)
parent8b12153e3557318900675a0ab3fe1581ecf9d9e2 (diff)
downloadrust-096369d97f108eeeef5be05f6e99f208c8916fc8.tar.gz
rust-096369d97f108eeeef5be05f6e99f208c8916fc8.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/tools/generate-windows-sys/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/generate-windows-sys/Cargo.toml b/src/tools/generate-windows-sys/Cargo.toml
index f5c0e56bb3c..152cd504abd 100644
--- a/src/tools/generate-windows-sys/Cargo.toml
+++ b/src/tools/generate-windows-sys/Cargo.toml
@@ -4,4 +4,4 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies.windows-bindgen]
-version = "0.59.0"
+version = "0.61.0"