mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-09 05:23:07 +00:00
kmc-solid: Add a stub implementation of is_terminal
Copied from `unsupported/io.rs`. Fixes build failure.
This commit is contained in:
parent
427a079d31
commit
47f2f6d615
@ -75,3 +75,7 @@ impl<'a> IoSliceMut<'a> {
|
||||
unsafe { slice::from_raw_parts_mut(self.vec.iov_base as *mut u8, self.vec.iov_len) }
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_terminal<T>(_: &T) -> bool {
|
||||
false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user