File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,30 +20,23 @@ pub type pthread_spinlock_t = c_int;
2020
2121#[ deprecated(
2222 since = "0.2.187" ,
23- note = "Use `ino_t` instead. This type is defined as either one of an alias to the unsuffixed \
24- type (musl) or is the source of the unsuffixed type (uClibc). The `libc` crate is \
25- phasing out support for suffixed variants of types."
23+ note = "Use `ino_t` instead. 64-bit targets alias both types."
2624) ]
2725pub type ino64_t = u64 ;
2826#[ deprecated(
2927 since = "0.2.187" ,
30- note = "Use `off_t` instead. This type is defined as either one of an alias to the unsuffixed \
31- type (musl) or is the source of the unsuffixed type (uClibc). The `libc` crate is \
32- phasing out support for suffixed variants of types."
28+ note = "Use `off_t` instead. No matter the target platform, off_t is always 64-bits wide, and \
29+ the `libc` crate is phasing out support for unsuffixed types."
3330) ]
3431pub type off64_t = i64 ;
3532#[ deprecated(
3633 since = "0.2.187" ,
37- note = "Use `blkcnt_t` instead. This type is defined as either one of an alias to the \
38- unsuffixed type (musl) or is the source of the unsuffixed type (uClibc). The `libc` \
39- crate is phasing out support for suffixed variants of types."
34+ note = "Use `blkcnt_t` instead. 64-bit targets alias both types."
4035) ]
4136pub type blkcnt64_t = i64 ;
4237#[ deprecated(
4338 since = "0.2.187" ,
44- note = "Use `rlim_t` instead. This type is defined as either one of an alias to the unsuffixed \
45- type (musl) or is the source of the unsuffixed type (uClibc). The `libc` crate is \
46- phasing out support for suffixed variants of types."
39+ note = "Use `rlim_t` instead. 64-bit targets alias both types."
4740) ]
4841pub type rlim64_t = u64 ;
4942
Original file line number Diff line number Diff line change 7171 #[ cfg( target_pointer_width = "64" ) ]
7272 pub mode: c_uint,
7373 #[ cfg( target_pointer_width = "32" ) ]
74- __pad1: c_ushort,
74+ __pad1: Padding < c_ushort> ,
7575 pub __seq: c_ushort,
76- __pad2: c_ushort,
77- __unused1: c_ulong,
78- __unused2: c_ulong,
76+ __pad2: Padding < c_ushort> ,
77+ __unused1: Padding < c_ulong> ,
78+ __unused2: Padding < c_ulong> ,
7979 }
8080
8181 pub struct statvfs {
9090 pub f_favail: crate :: fsfilcnt_t,
9191 pub f_fsid: c_ulong,
9292 #[ cfg( target_pointer_width = "32" ) ]
93- __f_unused: c_int,
93+ __f_unused: Padding < c_int> ,
9494 pub f_flag: c_ulong,
9595 pub f_namemax: c_ulong,
96- __f_spare: [ c_int; 6 ] ,
96+ __f_spare: Padding < [ c_int; 6 ] > ,
9797 }
9898
9999 pub struct sysinfo {
You can’t perform that action at this time.
0 commit comments