Skip to content

musl: add renameat2 binding#5113

Open
jiang1997 wants to merge 1 commit into
rust-lang:mainfrom
jiang1997:add-renameat2-musl
Open

musl: add renameat2 binding#5113
jiang1997 wants to merge 1 commit into
rust-lang:mainfrom
jiang1997:add-renameat2-musl

Conversation

@jiang1997
Copy link
Copy Markdown

Description

This PR adds the renameat2 function binding for musl targets. musl supports renameat2 since version 1.2.6.
Closes: #4478

Sources

https://musl.libc.org/releases.html

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

This comment has been minimized.

@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label May 26, 2026
@JohnTitor JohnTitor force-pushed the add-renameat2-musl branch from 2f25a7c to f50f9a8 Compare May 27, 2026 10:02
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 27, 2026

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.

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.

@JohnTitor JohnTitor added this pull request to the merge queue May 27, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants