netbsd/mod.rs: fix so that self-tests pass on both ilp32 and lp64.#4904
Merged
tgross35 merged 1 commit intorust-lang:mainfrom Jan 3, 2026
Merged
netbsd/mod.rs: fix so that self-tests pass on both ilp32 and lp64.#4904tgross35 merged 1 commit intorust-lang:mainfrom
tgross35 merged 1 commit intorust-lang:mainfrom
Conversation
This is mostly related to siginfo_t. An error in si_status() implementation was also fixed. Ref. padding dependent on _LP64 in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#50 and si_status() in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#161
tgross35
pushed a commit
to tgross35/rust-libc
that referenced
this pull request
Jan 3, 2026
This is mostly related to siginfo_t. An error in si_status() implementation was also fixed. Ref. padding dependent on _LP64 in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#50 and si_status() in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#161 (backport <rust-lang#4904>) (cherry picked from commit 1fab928)
Merged
tgross35
pushed a commit
to tgross35/rust-libc
that referenced
this pull request
Jan 3, 2026
This is mostly related to siginfo_t. An error in si_status() implementation was also fixed. Ref. padding dependent on _LP64 in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#50 and si_status() in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#161 (backport <rust-lang#4904>) (cherry picked from commit 1fab928)
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 3, 2026
This is mostly related to siginfo_t. An error in si_status() implementation was also fixed. Ref. padding dependent on _LP64 in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#50 and si_status() in https://nxr.netbsd.org/xref/src/sys/sys/siginfo.h#161 (backport <#4904>) (cherry picked from commit 1fab928)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is mostly related to siginfo_t.
An error in si_status() implementation was also fixed.
Tests for now verified to pass on
NetBSD/i386 10.0withrust 1.92.0.Sources
ksiginfo_t, andsiginfo_tis defined in terms of it.si_status()macro.Checklist
libc-test/semverhave been updated*LASTor*MAXareincluded (see #3131)
cd libc-test && cargo test --target mytarget);especially relevant for platforms that may not be checked in CI