mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 23:51:33 +00:00
partially works
This commit is contained in:
@ -6,8 +6,9 @@ pub struct Stdout;
|
||||
pub struct Stderr;
|
||||
|
||||
impl FileLike for Stdin {
|
||||
fn write(&mut self, _buf: &[u8], _count: usize, _offset: usize) -> Result<usize, Error> {
|
||||
unimplemented!()
|
||||
fn write(&mut self, _buf: &[u8], count: usize, _offset: usize) -> Result<usize, Error> {
|
||||
println!("writing to {} byte to dev stream...", count);
|
||||
Ok(count)
|
||||
}
|
||||
|
||||
fn read(&mut self, _buf: &mut [u8]) -> Result<usize, Error> {
|
||||
|
Reference in New Issue
Block a user