-
Notifications
You must be signed in to change notification settings - Fork 407
Open
Labels
A-filesArea: related to files, paths, sockets, file descriptors, or handlesArea: related to files, paths, sockets, file descriptors, or handlesC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementE-good-first-issueA good way to start contributing, mentoring is availableA good way to start contributing, mentoring is available
Description
The standard library uses statx instead of fstat on Linux, but Rust programs may still call fstat directly, so it makes sense to also support fstat. In particular, this is needed for Tokio.
We already support fstat on a bunch of Unixes so this should be fairly easy. However, some slight adjustments may be needed since the exact set of fields in the stat type tends to be platform-dependent.
Metadata
Metadata
Assignees
Labels
A-filesArea: related to files, paths, sockets, file descriptors, or handlesArea: related to files, paths, sockets, file descriptors, or handlesC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementE-good-first-issueA good way to start contributing, mentoring is availableA good way to start contributing, mentoring is available