about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2020-04-27 04:50:03 -0700
committerSteven Fackler <sfackler@gmail.com>2020-04-27 04:50:03 -0700
commitc68f23ff6d670e579e0951352e20a1495b66fce0 (patch)
tree21508121a9e78a9bb083519f39ad5cb478f12834
parentb00afb5782c3c9a710f64e5c14f854946847ca65 (diff)
downloadrust-c68f23ff6d670e579e0951352e20a1495b66fce0.tar.gz
rust-c68f23ff6d670e579e0951352e20a1495b66fce0.zip
fix wasi
-rw-r--r--src/libstd/sys/wasi/net.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/wasi/net.rs b/src/libstd/sys/wasi/net.rs
index 30b6b984f30..e186453588d 100644
--- a/src/libstd/sys/wasi/net.rs
+++ b/src/libstd/sys/wasi/net.rs
@@ -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> {