Skip to content

feat(redox): add renameat2 and RENAME_NOREPLACE#4968

Merged
JohnTitor merged 2 commits intorust-lang:mainfrom
aero-os:main
Feb 12, 2026
Merged

feat(redox): add renameat2 and RENAME_NOREPLACE#4968
JohnTitor merged 2 commits intorust-lang:mainfrom
aero-os:main

Conversation

@Andy-Python-Programmer
Copy link
Copy Markdown
Contributor

Description

Adds renameat2 and RENAME_NOREPLACE for Redox.

Sources

renameat2: https://gitlab.redox-os.org/redox-os/relibc/-/blob/0bbaadf2ce96ae7374e0196cbb70f39fe63aa89d/src/header/stdio/mod.rs#L1184

RENAME_NOREPLACE: https://gitlab.redox-os.org/redox-os/relibc/-/blob/0bbaadf2ce96ae7374e0196cbb70f39fe63aa89d/src/header/stdio/constants.rs#L30

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

@rustbot label +stable-nominated

CC @jackpot51

@rustbot rustbot added S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Feb 12, 2026
Copy link
Copy Markdown
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Waiting for the target maintainer.

@JohnTitor JohnTitor added this pull request to the merge queue Feb 12, 2026
Merged via the queue into rust-lang:main with commit c6900b7 Feb 12, 2026
51 checks passed
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Feb 13, 2026
Signed-off-by: Anhad Singh <[email protected]>

(backport <rust-lang#4968>)
(cherry picked from commit 5a68089)
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Feb 13, 2026
Signed-off-by: Anhad Singh <[email protected]>

(backport <rust-lang#4968>)
(cherry picked from commit c6900b7)
@tgross35 tgross35 mentioned this pull request Feb 13, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Feb 13, 2026
Signed-off-by: Anhad Singh <[email protected]>

(backport <#4968>)
(cherry picked from commit 5a68089)
github-merge-queue Bot pushed a commit that referenced this pull request Feb 13, 2026
Signed-off-by: Anhad Singh <[email protected]>

(backport <#4968>)
(cherry picked from commit c6900b7)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants