Skip to content

Commit c0c9391

Browse files
asomerstgross35
authored andcommitted
Fix the build on armv7-unknown-freebsd
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`. (backport <rust-lang#3994>) (cherry picked from commit 816b524)
1 parent d435e9b commit c0c9391

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+1
-1
lines changed

src/unix/bsd/freebsdlike/freebsd/arm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub type __gregset_t = [::__greg_t; 17];
1212
s_no_extra_traits! {
1313
pub struct mcontext_t {
1414
pub __gregs: ::__gregset_t,
15-
pub mc_vfp_size: ::__size_t,
15+
pub mc_vfp_size: usize,
1616
pub mc_vfp_ptr: *mut ::c_void,
1717
pub mc_spare: [::c_uint; 33],
1818
}

0 commit comments

Comments
 (0)