Skip to content

Commit 47f2f6d

Browse files
committed
kmc-solid: Add a stub implementation of is_terminal
Copied from `unsupported/io.rs`. Fixes build failure.
1 parent 427a079 commit 47f2f6d

File tree

1 file changed

+4
-0
lines changed
  • library/std/src/sys/solid

1 file changed

+4
-0
lines changed

library/std/src/sys/solid/io.rs

+4
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,7 @@ impl<'a> IoSliceMut<'a> {
7575
unsafe { slice::from_raw_parts_mut(self.vec.iov_base as *mut u8, self.vec.iov_len) }
7676
}
7777
}
78+
79+
pub fn is_terminal<T>(_: &T) -> bool {
80+
false
81+
}

0 commit comments

Comments
 (0)