Skip to content

Commit

Permalink
Implement path_open. (bytecodealliance#18)
Browse files Browse the repository at this point in the history
* Implement `path_open`.

* Implement `fd_close`, and finish `path_open`.

* Stub out `close` in the host impl.
  • Loading branch information
sunfishcode committed Dec 7, 2022
1 parent 006f865 commit abe30a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions host/src/filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ impl wasi_filesystem::WasiFilesystem for WasiCtx {
todo!()
}

fn close(&mut self, fd: wasi_filesystem::Descriptor) -> anyhow::Result<()> {
todo!()
}

fn readlink_at(
&mut self,
fd: wasi_filesystem::Descriptor,
Expand Down

0 comments on commit abe30a7

Please sign in to comment.