Skip to content

Commit

Permalink
Unrolled build for rust-lang#121691
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#121691 - janstarke:handle-missing-creation-time-as-unsupported, r=cuviper

handle unavailable creation time as `io::ErrorKind::Unsupported`
  • Loading branch information
rust-timer authored Feb 28, 2024
2 parents d377991 + 7e10a5c commit afee65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ impl FileAttr {
Ok(SystemTime::new(ext.stx_btime.tv_sec, ext.stx_btime.tv_nsec as i64))
} else {
Err(io::const_io_error!(
io::ErrorKind::Uncategorized,
io::ErrorKind::Unsupported,
"creation time is not available for the filesystem",
))
};
Expand Down

0 comments on commit afee65f

Please sign in to comment.