i686-musl: split timespec fields into (time_t, c_long) pairs
This is how MetadaExt expects these fields to be named.
See c116ae35cf/src/libstd/os/linux/fs.rs (L107-L121)
This commit is contained in:
parent
5f527b07f4
commit
37db5af016
@ -234,9 +234,12 @@ s! {
|
||||
pub st_size: ::off_t,
|
||||
pub st_blksize: ::blksize_t,
|
||||
pub st_blocks: ::blkcnt_t,
|
||||
pub st_atim: ::timespec,
|
||||
pub st_mtim: ::timespec,
|
||||
pub st_ctim: ::timespec,
|
||||
pub st_atime: ::time_t,
|
||||
pub st_atime_nsec: ::c_long,
|
||||
pub st_mtime: ::time_t,
|
||||
pub st_mtime_nsec: ::c_long,
|
||||
pub st_ctime: ::time_t,
|
||||
pub st_ctime_nsec: ::c_long,
|
||||
pub st_ino: ::ino_t,
|
||||
}
|
||||
|
||||
@ -253,9 +256,12 @@ s! {
|
||||
pub st_size: ::off_t,
|
||||
pub st_blksize: ::blksize_t,
|
||||
pub st_blocks: ::blkcnt_t,
|
||||
pub st_atim: ::timespec,
|
||||
pub st_mtim: ::timespec,
|
||||
pub st_ctim: ::timespec,
|
||||
pub st_atime: ::time_t,
|
||||
pub st_atime_nsec: ::c_long,
|
||||
pub st_mtime: ::time_t,
|
||||
pub st_mtime_nsec: ::c_long,
|
||||
pub st_ctime: ::time_t,
|
||||
pub st_ctime_nsec: ::c_long,
|
||||
pub st_ino: ::ino_t,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user