Skip to content

Commit

Permalink
fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Apr 26, 2020
1 parent 5d8fe1c commit b00afb5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/libstd/sys/wasm/pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
}
Expand All @@ -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 {}
}
Expand Down

0 comments on commit b00afb5

Please sign in to comment.