Skip to content

Commit 11cf5e8

Browse files
committed
std::fs: get_mode implementation for haiku.
1 parent c9bd03c commit 11cf5e8

File tree

1 file changed

+2
-0
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+2
-0
lines changed

library/std/src/sys/pal/unix/fs.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,7 @@ impl fmt::Debug for File {
15611561
target_os = "vxworks",
15621562
target_os = "solaris",
15631563
target_os = "illumos",
1564+
target_os = "haiku",
15641565
target_vendor = "apple",
15651566
))]
15661567
fn get_mode(fd: c_int) -> Option<(bool, bool)> {
@@ -1585,6 +1586,7 @@ impl fmt::Debug for File {
15851586
target_os = "vxworks",
15861587
target_os = "solaris",
15871588
target_os = "illumos",
1589+
target_os = "haiku",
15881590
target_vendor = "apple",
15891591
)))]
15901592
fn get_mode(_fd: c_int) -> Option<(bool, bool)> {

0 commit comments

Comments
 (0)