Unified · Split
| @@ -59,10 +59,8 @@ impl Metadata { · 58 unmodified lines | ||
| 59 | 59 | #[cfg(any(target_os = "aix", target_os = "hurd"))] |
| 60 | 60 | let seconds = self.0.st_mtim.tv_sec; |
| 61 | 61 | |
| 62 | − #[cfg(not(any(target_os = "netbsd", target_os = "aix", target_os = "hurd")))] | |
| 62 | + #[cfg(not(any(target_os = "aix", target_os = "hurd")))] | |
| 63 | 63 | let nanoseconds = self.0.st_mtime_nsec; |
| 64 | − #[cfg(target_os = "netbsd")] | |
| 65 | − let nanoseconds = self.0.st_mtimensec; | |
| 66 | 64 | #[cfg(any(target_os = "aix", target_os = "hurd"))] |
| 67 | 65 | let nanoseconds = self.0.st_mtim.tv_nsec; |
| 68 | 66 | |
| @@ -88,10 +86,8 @@ impl Metadata { · 19 unmodified lines | ||
| 88 | 86 | #[cfg(any(target_os = "aix", target_os = "hurd"))] |
| 89 | 87 | let seconds = self.0.st_ctim.tv_sec; |
| 90 | 88 | |
| 91 | − #[cfg(not(any(target_os = "netbsd", target_os = "aix", target_os = "hurd")))] | |
| 89 | + #[cfg(not(any(target_os = "aix", target_os = "hurd")))] | |
| 92 | 90 | let nanoseconds = self.0.st_ctime_nsec; |
| 93 | − #[cfg(target_os = "netbsd")] | |
| 94 | − let nanoseconds = self.0.st_ctimensec; | |
| 95 | 91 | #[cfg(any(target_os = "aix", target_os = "hurd"))] |
| 96 | 92 | let nanoseconds = self.0.st_ctim.tv_nsec; |
| 97 | 93 | |