Implement `fstat`
sunfishcode opened this issue · comments
Dan Gohman commented
As mentioned in #22 (comment), the memmap2 crate calls fstat
. This is unusual; on Linux most programs use fstat64
, which mustang does implement. But memmap2
probably doesn't see problems in practice because 32-bit targets wouldn't be able to mmap 4+ GiB files anyway.
So we can either implement fstat
or submit a patch to memmap2 to have it use fstat64 on Linux.
Dan Gohman commented
fstat
was added in #104.