Skip to content

Commit 816b524

Browse files
committed
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`.
1 parent 8d0b3a0 commit 816b524

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
@@ -11,7 +11,7 @@ pub type __gregset_t = [::__greg_t; 17];
1111
s_no_extra_traits! {
1212
pub struct mcontext_t {
1313
pub __gregs: ::__gregset_t,
14-
pub mc_vfp_size: ::__size_t,
14+
pub mc_vfp_size: usize,
1515
pub mc_vfp_ptr: *mut ::c_void,
1616
pub mc_spare: [::c_uint; 33],
1717
}

0 commit comments

Comments
 (0)