Skip to content

Commit

Permalink
std::fs: get_mode implementation for haiku.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Aug 12, 2024
1 parent ceceae3 commit 5fabf93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions std/src/sys/pal/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,7 @@ impl fmt::Debug for File {
target_os = "vxworks",
target_os = "solaris",
target_os = "illumos",
target_os = "haiku",
target_vendor = "apple",
))]
fn get_mode(fd: c_int) -> Option<(bool, bool)> {
Expand All @@ -1585,6 +1586,7 @@ impl fmt::Debug for File {
target_os = "vxworks",
target_os = "solaris",
target_os = "illumos",
target_os = "haiku",
target_vendor = "apple",
)))]
fn get_mode(_fd: c_int) -> Option<(bool, bool)> {
Expand Down

0 comments on commit 5fabf93

Please sign in to comment.