-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix statx created times when unavailable (#268)
* Fix statx created times when unavailable This previously returned `Some(UNIX_EPOCH)` instead of `None` when `statx` did not return a created time. * Loosen fs_additional test assertion for created times This makes it OK to return file created times even if std doesn't, which is currently the case for musl builds. * Check `statx` mask to see if `mtime` and `atime` were returned, too `std` does these checks, so cap-std should too. `std` only does the checks for 32-bit targets, but they don't seem harmful to enable for all targets.
- Loading branch information
Showing
2 changed files
with
56 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters