This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit dd91aba
committed
Auto merge of rust-lang#114882 - ChrisDenton:riddle-me, r=dtolnay
Update windows ffi bindings
Bump `windows-bindgen` to version 0.51.1. This brings with it some changes to the generated FFI bindings, but little that affects the code.
One change that does have more of an impact is `SOCKET` being `usize` instead of either `u64` or `u32` (as is used in std's public `SOCKET` type). However, it's now easy enough to abstract over that difference.
Finally I added a few new bindings that are likely to be used in pending PRs, mostly to make sure they're ok with the new metadata.
r? libsFile tree
9 files changed
+138
-154
lines changed- library/std/src
- os/windows/io
- sys/windows
- c
- src/tools/generate-windows-sys
- src
9 files changed
+138
-154
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6025 | 6025 | | |
6026 | 6026 | | |
6027 | 6027 | | |
6028 | | - | |
| 6028 | + | |
6029 | 6029 | | |
6030 | | - | |
| 6030 | + | |
6031 | 6031 | | |
| 6032 | + | |
| 6033 | + | |
| 6034 | + | |
6032 | 6035 | | |
6033 | | - | |
6034 | 6036 | | |
6035 | 6037 | | |
6036 | 6038 | | |
6037 | 6039 | | |
6038 | | - | |
| 6040 | + | |
6039 | 6041 | | |
6040 | | - | |
| 6042 | + | |
6041 | 6043 | | |
6042 | 6044 | | |
6043 | 6045 | | |
| |||
6087 | 6089 | | |
6088 | 6090 | | |
6089 | 6091 | | |
6090 | | - | |
6091 | | - | |
6092 | | - | |
6093 | | - | |
6094 | | - | |
6095 | | - | |
6096 | 6092 | | |
6097 | 6093 | | |
6098 | 6094 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
| |||
224 | 220 | | |
225 | 221 | | |
226 | 222 | | |
227 | | - | |
| 223 | + | |
228 | 224 | | |
229 | 225 | | |
230 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
2108 | 2111 | | |
2109 | 2112 | | |
2110 | 2113 | | |
2111 | | - | |
2112 | 2114 | | |
2113 | 2115 | | |
2114 | 2116 | | |
| |||
2328 | 2330 | | |
2329 | 2331 | | |
2330 | 2332 | | |
2331 | | - | |
2332 | 2333 | | |
2333 | 2334 | | |
2334 | 2335 | | |
| |||
2420 | 2421 | | |
2421 | 2422 | | |
2422 | 2423 | | |
2423 | | - | |
2424 | | - | |
2425 | 2424 | | |
2426 | 2425 | | |
2427 | 2426 | | |
| |||
2435 | 2434 | | |
2436 | 2435 | | |
2437 | 2436 | | |
2438 | | - | |
2439 | 2437 | | |
2440 | 2438 | | |
2441 | 2439 | | |
| |||
2456 | 2454 | | |
2457 | 2455 | | |
2458 | 2456 | | |
2459 | | - | |
2460 | 2457 | | |
2461 | 2458 | | |
2462 | 2459 | | |
| |||
2482 | 2479 | | |
2483 | 2480 | | |
2484 | 2481 | | |
| 2482 | + | |
2485 | 2483 | | |
2486 | 2484 | | |
2487 | 2485 | | |
| |||
2514 | 2512 | | |
2515 | 2513 | | |
2516 | 2514 | | |
| 2515 | + | |
2517 | 2516 | | |
2518 | 2517 | | |
2519 | 2518 | | |
| |||
2542 | 2541 | | |
2543 | 2542 | | |
2544 | 2543 | | |
2545 | | - | |
2546 | | - | |
2547 | | - | |
2548 | 2544 | | |
2549 | 2545 | | |
2550 | 2546 | | |
| |||
2584 | 2580 | | |
2585 | 2581 | | |
2586 | 2582 | | |
2587 | | - | |
2588 | | - | |
2589 | 2583 | | |
2590 | 2584 | | |
2591 | 2585 | | |
| |||
0 commit comments