Skip to content

linux ptrace: Rename wrongly named field sval to rval#5016

Merged
JohnTitor merged 1 commit intorust-lang:mainfrom
Marcondiro:fix-rval
Mar 15, 2026
Merged

linux ptrace: Rename wrongly named field sval to rval#5016
JohnTitor merged 1 commit intorust-lang:mainfrom
Marcondiro:fix-rval

Conversation

@Marcondiro
Copy link
Contributor

@Marcondiro Marcondiro commented Mar 14, 2026

Split from #4966 as suggested by @tgross35

Description

__c_anonymous_ptrace_syscall_info_exit field was wrongly named sval instead of rval. Fix it by renaming the field.

This is a breaking change and should probably not be backported to 0.2.

Sources

ptrace.h

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

`__c_anonymous_ptrace_syscall_info_exit` field was wrongly named `sval` instead of `rval`. Fix it by renaming the field.
Copy link
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 Mar 15, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 15, 2026
@JohnTitor JohnTitor added this pull request to the merge queue Mar 15, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 15, 2026
@JohnTitor JohnTitor added this pull request to the merge queue Mar 15, 2026
Merged via the queue into rust-lang:main with commit 85a95b8 Mar 15, 2026
51 checks passed
@tgross35 tgross35 added the stable-declined This change is breaking, difficult to backport, low priority, or otherwise not relevant for 0.2 label Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-declined This change is breaking, difficult to backport, low priority, or otherwise not relevant for 0.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants