Skip to content

Commit

Permalink
Fix the build on armv7-unknown-freebsd
Browse files Browse the repository at this point in the history
PR rust-lang#3848 broke the build on armv7-unknown-freebsd by defining a field to
be of an unknown type.  Use the correct type name `usize` instead of
`::__size_t`.
  • Loading branch information
asomers committed Oct 21, 2024
1 parent 8d0b3a0 commit 816b524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/bsd/freebsdlike/freebsd/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub type __gregset_t = [::__greg_t; 17];
s_no_extra_traits! {
pub struct mcontext_t {
pub __gregs: ::__gregset_t,
pub mc_vfp_size: ::__size_t,
pub mc_vfp_size: usize,
pub mc_vfp_ptr: *mut ::c_void,
pub mc_spare: [::c_uint; 33],
}
Expand Down

0 comments on commit 816b524

Please sign in to comment.