Skip to content

FreeBSD amd64: add mc_tlsbase member to mcontext_t #4503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

kostikbel
Copy link
Contributor

Description

The mc_tlsbase member was recently added to struct mcontext on amd64,
both on CURRENT and on stable/14.
This PR adds it to the Rust libc structure as well.

Sources

https://github.com/freebsd/freebsd-src/blob/716b6667b65b50c15900be9f88cc67f2326872b4/sys/x86/include/ucontext.h#L163

Checklist

@rustbot label +stable-nominated

@rustbot rustbot added O-unix O-x86 S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Jun 26, 2025
@tgross35
Copy link
Contributor

tgross35 commented Jul 2, 2025

r? @asomers

@rustbot
Copy link
Collaborator

rustbot commented Jul 2, 2025

Failed to set assignee to asomers: invalid assignee

Note: Only org members with at least the repository "read" role, users with write permissions, or people who have commented on the PR may be assigned.

Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

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

Thank you!

@tgross35 tgross35 added this pull request to the merge queue Jul 2, 2025
Merged via the queue into rust-lang:main with commit be45368 Jul 2, 2025
48 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

4 participants