fix wasi
This commit is contained in:
parent
b00afb5782
commit
c68f23ff6d
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ impl TcpStream {
|
|||
}
|
||||
|
||||
pub fn is_read_vectored(&self) -> bool {
|
||||
unsupported()
|
||||
true
|
||||
}
|
||||
|
||||
pub fn write(&self, _: &[u8]) -> io::Result<usize> {
|
||||
|
@ -61,7 +61,7 @@ impl TcpStream {
|
|||
}
|
||||
|
||||
pub fn is_write_vectored(&self) -> bool {
|
||||
unsupported()
|
||||
true
|
||||
}
|
||||
|
||||
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
|
||||
|
|
Loading…
Add table
Reference in a new issue