-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[0.2] Backports #4702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[0.2] Backports #4702
Conversation
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
[ref](haiku/haiku@6beff0d) (backport <rust-lang#4586>) (cherry picked from commit 5fd2626)
(backport <rust-lang#4632>) (cherry picked from commit bbafd45)
|
c778cce
to
3c90779
Compare
Fixes `useless_deprecated` error.
Set up a Cargo dependency on ctest-next, which is now published as a beta version of ctest. Includes a backport of only the libc-test portions of d8cc878 ("ctest-next: miscellaneous filtering bug fixes") to reduce conflicts with future cherry picks. Co-authored-by: mbyx <mbyx.dev@gmail.com>
struct kinfo_proc may be extended again in the future. Add #[non_exhaustive] to let the compiler and other tooling know. (backport <rust-lang#4553>) (cherry picked from commit 9ee2d2a)
`P_IDLEPROC` was introduced in FreeBSD 15, in commit 33be1632047c ("racct: Fix accounting of CPU time for the system idle process"). freebsd/freebsd-src@33be163 (backport <rust-lang#4640>) (cherry picked from commit ac0e2b6)
mcontext_t::mc_tlsbase was introduced in FreeBSD 15, in commit eea3e4dd9703 ("amd64: add mc_tlsbase member to mcontext"). freebsd/freebsd-src@eea3e4d (backport <rust-lang#4640>) (cherry picked from commit 3d93bf5)
They were found with `codespell`. (backport <rust-lang#4636>) (cherry picked from commit 33b0290) [ drop changes to ctest-next that don't apply - Trevor ]
(backport <rust-lang#4639>) (cherry picked from commit 8bd31d7)
Commit 3356f12 ("Begin source reorganization with `linux/can.h`") introduced a new directory structure for reorganizing the source code. It is called `src/new/` everywhere but in triagebot.toml, likely because `src/reorg/` is an older name used during development. (backport <rust-lang#4635>) (cherry picked from commit 627a530)
(backport <rust-lang#4600>) (cherry picked from commit acd869f)
FreeBSD 14.3 was released on June 10, 2025: https://www.freebsd.org/releases/14.3R/announce/ (backport <rust-lang#4642>) (cherry picked from commit d54af17)
st_fileref was backported to FreeBSD 14 with the 14.3 release. freebsd/freebsd-src@86e95bb (backport <rust-lang#4642>) (cherry picked from commit dc3bf0a)
Redox's relibc supports: * mkostemp * mkostemps * strftime (backport <rust-lang#4629>) (cherry picked from commit 8380bad)
(backport <rust-lang#4648>) (cherry picked from commit 673b10e)
(backport <rust-lang#4610>) (cherry picked from commit 1e8377c)
(backport <rust-lang#4656>) (cherry picked from commit 8236b56)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> (backport <rust-lang#4664>) (cherry picked from commit c5552f6)
Bumps [vmactions/solaris-vm](https://github.com/vmactions/solaris-vm) from 1.1.4 to 1.1.5. - [Release notes](https://github.com/vmactions/solaris-vm/releases) - [Commits](vmactions/solaris-vm@v1.1.4...v1.1.5) --- updated-dependencies: - dependency-name: vmactions/solaris-vm dependency-version: 1.1.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> (backport <rust-lang#4663>) (cherry picked from commit 10d68a4)
24.10 is EOL so we need to bump the images. (backport <rust-lang#4701>) (cherry picked from commit 65da4e4)
Recent versions of Clippy now lint against `0 as *(const|mut) T` rather than using `null`/`null_mut`. Make the updates required for this to pass. (backport <rust-lang#4701>) (cherry picked from commit c4eefd5)
cbf0623
to
2b5dd79
Compare
freebsd11 wasn't covered, meaning test failures on the 0.2 branch. Add freebsd11 to the pattern, and use `cfg(not(...))` rather than `cfg(freebsd15)`. (Ideally this would instead be encoded as something like `cfg(freebsd_least_15)`.) Fixes: 3d93bf5 ("freebsd: Limit mcontext_t::mc_tlsbase to FreeBSD 15") (backport <rust-lang#4703>) (cherry picked from commit d8b90d6)
faea183
to
b54fc43
Compare
Merged
via the queue into
rust-lang:libc-0.2
with commit Sep 19, 2025
067fcf3
49 of 50 checks passed
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.
Backport the following:
mcontext_t.mc_tlsbase
#4703