Skip to content
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

[0.2] Backports #4006

Merged
merged 11 commits into from
Nov 7, 2024
Prev Previous commit
Next Next commit
Fix alignment of mcontext_t on FreeBSD x86
  • Loading branch information
asomers authored and tgross35 committed Nov 7, 2024
commit c8a0faf826d91b7609cff1ade2072e50f07464ed
1 change: 1 addition & 0 deletions src/unix/bsd/freebsdlike/freebsd/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pub type suseconds_t = i32;
pub type register_t = i32;

s_no_extra_traits! {
#[repr(align(16))]
pub struct mcontext_t {
pub mc_onstack: register_t,
pub mc_gs: register_t,
Expand Down