Skip to content

Commit 55cddb8

Browse files
committed
Fix missing guard
1 parent c50664d commit 55cddb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/sys/unix/fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pub struct FileAttr {
4848
statx_extra_fields: Option<StatxExtraFields>,
4949
}
5050

51+
#[cfg(target_os = "linux")]
5152
#[derive(Clone)]
5253
struct StatxExtraFields {
5354
// This is needed to check if btime is supported by the filesystem.

0 commit comments

Comments
 (0)