We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2923f3a commit 68976d1Copy full SHA for 68976d1
library/std/src/sys/unix/fs.rs
@@ -670,12 +670,7 @@ impl DirEntry {
670
fn name_cstr(&self) -> &CStr {
671
unsafe { CStr::from_ptr(self.entry.d_name.as_ptr()) }
672
}
673
- #[cfg(any(
674
- target_os = "solaris",
675
- target_os = "illumos",
676
- target_os = "fuchsia",
677
- target_os = "redox"
678
- ))]
+ #[cfg(any(target_os = "solaris", target_os = "illumos", target_os = "fuchsia"))]
679
680
&self.name
681
0 commit comments