Repository navigation
freebsd: add renameat2 - #5563
Merged
Merged
Conversation
`renameat2` first appeared in FreeBSD 15.1 (freebsd/freebsd-src@28599a1e5f1b), so it is skipped in libc-test while CI runs 14.4 and 15.0. Source: https://github.com/freebsd/freebsd-src/blob/b5f0e7f36afc20bf17e9e955454b445d686cda06/include/stdio.h#L409
tgross35
approved these changes
Sep 28, 2026
Member
|
Please disable automatic copilot reviews for rust-lang repos in the future |
tgross35
pushed a commit
to tgross35/rust-libc
that referenced
this pull request
Oct 1, 2026
`renameat2` first appeared in FreeBSD 15.1 (freebsd/freebsd-src@28599a1e5f1b), so it is skipped in libc-test while CI runs 14.4 and 15.0. Source: https://github.com/freebsd/freebsd-src/blob/b5f0e7f36afc20bf17e9e955454b445d686cda06/include/stdio.h#L409 (backport <rust-lang#5563>) (cherry picked from commit f9bac8d)
Merged
renovate-bot
pushed a commit
to renovate-bot/rust-lang-_-libc
that referenced
this pull request
Oct 1, 2026
`renameat2` first appeared in FreeBSD 15.1 (freebsd/freebsd-src@28599a1e5f1b), so it is skipped in libc-test while CI runs 14.4 and 15.0. Source: https://github.com/freebsd/freebsd-src/blob/b5f0e7f36afc20bf17e9e955454b445d686cda06/include/stdio.h#L409 (backport <rust-lang#5563>) (cherry picked from commit f9bac8d)
This was referenced Oct 9, 2026
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
Add
renameat2for FreeBSD. #5560 adds its flags for #5553, and with the function they can be used without the raw syscall number, which libc doesn't provide for FreeBSD.It first appeared in FreeBSD 15.1, so it is skipped in libc-test while CI runs 14.4 and 15.0, the same way as the flags in #5560. The two PRs don't overlap.
Checklist
libc-test/semverhave been updated*LASTor*MAXhave the standard doc comment (none added)cargo checkforx86_64-unknown-freebsdandi686-unknown-freebsdwithlibc_unstable_freebsd_versionset to 14 and 15; ctest can't cover it until CI has 15.1)@rustbot label +stable-nominated