Skip to content

Commit b00afb5

Browse files
committedApr 26, 2020
fix wasm build
1 parent 5d8fe1c commit b00afb5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/libstd/sys/wasm/pipe.rs

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ impl AnonPipe {
1212
match self.0 {}
1313
}
1414

15+
pub fn is_read_vectored(&self) -> bool {
16+
match self.0 {}
17+
}
18+
1519
pub fn write(&self, _buf: &[u8]) -> io::Result<usize> {
1620
match self.0 {}
1721
}
@@ -20,6 +24,10 @@ impl AnonPipe {
2024
match self.0 {}
2125
}
2226

27+
pub fn is_write_vectored(&self) -> bool {
28+
match self.0 {}
29+
}
30+
2331
pub fn diverge(&self) -> ! {
2432
match self.0 {}
2533
}

0 commit comments

Comments
 (0)
Please sign in to comment.