musl: fix siginfo_t definition - #5521
Conversation
Fix definition of `siginfo_t` in musl after the recent patch that moved it to `new` replaced certain untagged unions with records [^1]. [^1]: rust-lang#5345
fbe44d5 to
841c3c1
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
It showed up in nix-rust/nix#2821 (comment). Going forward, it might be worth testing |
|
I would love to have that kind of feedback, though I don't think we can commit to maintaining CI for downstream projects here. Maybe interested projects (nix, rustix, etc) could add a |
|
@tgross35 Regarding nix-rust/nix#2821 and bytecodealliance/rustix#1676, is there anyone you can reach out to who might be able to help get these merged soon? Otherwise, these crates will break with the next |
|
@tgross35 It would also help if you could backport these changes soon, so I can test against the |
|
Pinged on the PR for one and on Zulip for the other. Thank you for doing the work to get that together! I'm loosely holding off the release waiting on the rustix fix, but that issue has been open for a long time so I'm not sure it's worth waiting much longer. |
We don't test against C anonymous Though this type seems to be popular enough to merit a test under |
Description
#5345 messed up one thing about the musl bindings; Fields
__firstand__secondfrom__si_commonin the untagged union were made recordsinstead of untagged unions themselves.
Checklist
libc-test/semverhave been updated*LASTor*MAXhave thestandard doc comment
cargo test -p libc-test --target mytarget);especially relevant for platforms that may not be checked in CI
@rustbot label +stable-nominated