Bump windows-bindgen to 0.55.0#122390
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use r? to explicitly pick a reviewer |
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
workingjubilee
left a comment
There was a problem hiding this comment.
While we have traditionally not cared much about the u8-vs-i8 difference here for c_char, I am somewhat concerned about this sudden variation. Is there a reason that they have changed it upstream, or is this by chance?
| #[repr(C)] | ||
| pub struct SOCKADDR { | ||
| pub sa_family: ADDRESS_FAMILY, | ||
| pub sa_data: [u8; 14], | ||
| pub sa_data: [i8; 14], |
There was a problem hiding this comment.
The sa_data in SOCKADDR seems to be ffi::c_char:
typedef struct sockaddr {
#if ...
u_short sa_family;
#else
ADDRESS_FAMILY sa_family;
#endif
CHAR sa_data[14];
} SOCKADDR, *PSOCKADDR, *LPSOCKADDR;|
@bors r+ It sounds to me like the above discussion resolved that this is OK, but if not we can revert/unapprove. |
…enton Rollup of 7 pull requests Successful merges: - rust-lang#122323 (configure.py: add flag for loongarch64 musl-root) - rust-lang#122372 (prevent notifying the same changes more than once) - rust-lang#122390 (Bump windows-bindgen to 0.55.0) - rust-lang#122401 (Check library crates for all tier 1 targets in PR CI) - rust-lang#122489 (Bump `cargo update` PR more often) - rust-lang#122583 (Use `UnsafeCell` for fast constant thread locals) - rust-lang#122590 (bootstrap: Don't name things copy that are not copies) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#122390 - ChrisDenton:bindgen, r=Mark-Simulacrum Bump windows-bindgen to 0.55.0 windows-bindgen is the crate used to generate std's Windows API bindings. Not many changes for us, it's mostly just simplifying the generate code (e.g. no more `-> ()`). The one substantial change is some structs now use `i8` byte arrays instead of `u8`. However, this only impacts one test.
windows-bindgen is the crate used to generate std's Windows API bindings.
Not many changes for us, it's mostly just simplifying the generate code (e.g. no more
-> ()). The one substantial change is some structs now usei8byte arrays instead ofu8. However, this only impacts one test.