Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions src/new/glibc/sysdeps/unix/linux/bits/statvfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,12 @@ s! {
pub f_ffree: u64,
pub f_favail: u64,
pub f_fsid: c_ulong,
// FIXME(riscv32): glibc declares this field on riscv32 too, but we have
// never declared it here.
// Mirrors `_STATVFSBUF_F_UNUSED` in the header. x32 is excluded because
// its `__SYSCALL_WORDSIZE` is 64, aarch64 because glibc always sets
// `__WORDSIZE` to 64.
#[cfg(all(
target_pointer_width = "32",
not(any(
target_arch = "x86_64",
target_arch = "aarch64",
target_arch = "riscv32"
))
not(any(target_arch = "x86_64", target_arch = "aarch64"))
))]
__f_unused: Padding<c_int>,
pub f_flag: c_ulong,
Expand Down
Loading