Skip to content

Commit

Permalink
Fix the build on armv7-unknown-freebsd
Browse files Browse the repository at this point in the history
PR #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`.

(backport <#3994>)
(cherry picked from commit 816b524)
  • Loading branch information
asomers authored and tgross35 committed Nov 7, 2024
1 parent d435e9b commit c0c9391
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 @@ -12,7 +12,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 c0c9391

Please sign in to comment.