Skip to content

Conversation

@tgross35
Copy link
Contributor

We can't yet use the standard library's macro since it isn't in our MSRV, but there are a couple of applicatons for having offset_of available. Add a polyfill for now.

We can't yet use the standard library's macro since it isn't in our
MSRV, but there are a couple of applicatons for having `offset_of`
available. Add a polyfill for now.
@tgross35 tgross35 enabled auto-merge October 27, 2025 22:30
@tgross35 tgross35 added this pull request to the merge queue Oct 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 27, 2025
@tgross35 tgross35 added this pull request to the merge queue Oct 27, 2025
Merged via the queue into rust-lang:main with commit 1808393 Oct 28, 2025
51 checks passed
@tgross35 tgross35 deleted the offset-of branch October 28, 2025 00:05
@tgross35
Copy link
Contributor Author

tgross35 commented Nov 3, 2025

@rustbot label +stable-nominated

@rustbot rustbot added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 3, 2025
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 4, 2025
We can't yet use the standard library's macro since it isn't in our
MSRV, but there are a couple of applicatons for having `offset_of`
available. Add a polyfill for now.

(backport <rust-lang#4792>)
(cherry picked from commit 1808393)
@tgross35 tgross35 mentioned this pull request Nov 4, 2025
github-merge-queue bot pushed a commit that referenced this pull request Nov 4, 2025
We can't yet use the standard library's macro since it isn't in our
MSRV, but there are a couple of applicatons for having `offset_of`
available. Add a polyfill for now.

(backport <#4792>)
(cherry picked from commit 1808393)
@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 Nov 4, 2025
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.

2 participants