Rollup merge of #125998 - devnexen:get_mode_illumos, r=Nilstrieb · model-checking/verify-rust-std@ca932c8 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1561,6 +1561,8 @@ impl fmt::Debug for File {
1561 1561 target_os = "netbsd",
1562 1562 target_os = "openbsd",
1563 1563 target_os = "vxworks",
1564 + target_os = "solaris",
1565 + target_os = "illumos",
1564 1566 target_vendor = "apple",
1565 1567 ))]
1566 1568 fn get_mode(fd: c_int) -> Option<(bool, bool)> {
@@ -1583,6 +1585,8 @@ impl fmt::Debug for File {
1583 1585 target_os = "netbsd",
1584 1586 target_os = "openbsd",
1585 1587 target_os = "vxworks",
1588 + target_os = "solaris",
1589 + target_os = "illumos",
1586 1590 target_vendor = "apple",
1587 1591 )))]
1588 1592 fn get_mode(_fd: c_int) -> Option<(bool, bool)> {