From abe30a73d47e7307fceafb0cdee5859ada806255 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 7 Dec 2022 15:45:11 -0800 Subject: [PATCH] Implement `path_open`. (#18) * Implement `path_open`. * Implement `fd_close`, and finish `path_open`. * Stub out `close` in the host impl. --- host/src/filesystem.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host/src/filesystem.rs b/host/src/filesystem.rs index d4f9dfb9318b..6acfdf64c3b6 100644 --- a/host/src/filesystem.rs +++ b/host/src/filesystem.rs @@ -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,