diff options
| m--------- | src/liblibc | 0 | ||||
| -rw-r--r-- | src/libstd/sys/unix/fs.rs | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/liblibc b/src/liblibc -Subproject 8d8264b967a31a1a8cebe2a05110564106b6e90 +Subproject 64d954c6a76e896fbf7ed5c17e77c40e388abe8 diff --git a/src/libstd/sys/unix/fs.rs b/src/libstd/sys/unix/fs.rs index 9c16e5b6e67..d0fb96b1ff1 100644 --- a/src/libstd/sys/unix/fs.rs +++ b/src/libstd/sys/unix/fs.rs @@ -345,14 +345,14 @@ impl DirEntry { #[cfg(any(target_os = "android", target_os = "linux", target_os = "emscripten", - target_os = "haiku", - target_os = "fuchsia"))] + target_os = "haiku"))] fn name_bytes(&self) -> &[u8] { unsafe { CStr::from_ptr(self.entry.d_name.as_ptr()).to_bytes() } } - #[cfg(target_os = "solaris")] + #[cfg(any(target_os = "solaris", + target_os = "fuchsia"))] fn name_bytes(&self) -> &[u8] { &*self.name } |
