Skip to content

Conversation

@3v1n0
Copy link
Contributor

@3v1n0 3v1n0 commented Jan 12, 2026

Description

Coming from #4859 by removing the main platforms that we cannot break

We have more fields that are padding areas that are currently marked as
public and not marked as Padding, which is causing the generated Hash
and PartialEq implementations to take care of them wrongly.

So fix them

Sources

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

3v1n0 added 4 commits January 12, 2026 18:03
Some were already done, more were missing
As previous commit, but tackle the *padding* fields
We have some leftovers of alignment data that is exposed
@3v1n0 3v1n0 force-pushed the tier-3-more-padding-fixes branch from fcaf794 to eb3cf9a Compare January 12, 2026 17:04
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.

Thanks! Approving based on #4859 (comment).

@JohnTitor JohnTitor added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jan 18, 2026
@JohnTitor JohnTitor added this pull request to the merge queue Jan 18, 2026
Merged via the queue into rust-lang:main with commit ec2139e Jan 18, 2026
50 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-arm O-dragonfly O-macos O-newlib O-powerpc O-unix O-x86 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.

3 participants