about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2020-04-26 16:34:14 -0700
committerSteven Fackler <sfackler@gmail.com>2020-04-26 16:34:14 -0700
commitb00afb5782c3c9a710f64e5c14f854946847ca65 (patch)
tree0c16a06b16e2647ff98306da16e6a271d7f5d84b /src/libstd
parent5d8fe1c4e6b214916de690ee25c17f862e166a28 (diff)
downloadrust-b00afb5782c3c9a710f64e5c14f854946847ca65.tar.gz
rust-b00afb5782c3c9a710f64e5c14f854946847ca65.zip
fix wasm build
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys/wasm/pipe.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstd/sys/wasm/pipe.rs b/src/libstd/sys/wasm/pipe.rs
index fb14dc59101..10d0925823e 100644
--- a/src/libstd/sys/wasm/pipe.rs
+++ b/src/libstd/sys/wasm/pipe.rs
@@ -12,6 +12,10 @@ impl AnonPipe {
         match self.0 {}
     }
 
+    pub fn is_read_vectored(&self) -> bool {
+        match self.0 {}
+    }
+
     pub fn write(&self, _buf: &[u8]) -> io::Result<usize> {
         match self.0 {}
     }
@@ -20,6 +24,10 @@ impl AnonPipe {
         match self.0 {}
     }
 
+    pub fn is_write_vectored(&self) -> bool {
+        match self.0 {}
+    }
+
     pub fn diverge(&self) -> ! {
         match self.0 {}
     }