diff --git a/src/new/glibc/sysdeps/unix/linux/bits/statvfs.rs b/src/new/glibc/sysdeps/unix/linux/bits/statvfs.rs index 03fc1ac84727..a8e36ca11981 100644 --- a/src/new/glibc/sysdeps/unix/linux/bits/statvfs.rs +++ b/src/new/glibc/sysdeps/unix/linux/bits/statvfs.rs @@ -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, pub f_flag: c_ulong,