change the preopen strategy again, implement more calls

This commit is contained in:
Pat Hickey
2020-12-03 17:12:21 -08:00
parent 40f8f69e03
commit 05ecdbfa96
6 changed files with 116 additions and 36 deletions

View File

@@ -31,6 +31,9 @@ pub trait WasiFile: FileIoExt {
fn filestat_set_size(&self, _size: u64) -> Result<(), Error> {
todo!()
}
fn sync(&self) -> Result<(), Error> {
todo!("FileIoExt has no facilities for sync")
}
}
#[derive(Debug, Copy, Clone)]