Implement fd_filestat_set_times using the filetime crate.

This commit is contained in:
Marcin Mielniczuk
2019-08-05 11:44:59 +02:00
committed by Jakub Konka
parent 46c41abd60
commit 2f1afc4846
4 changed files with 31 additions and 53 deletions

View File

@@ -267,15 +267,6 @@ fn filetype(metadata: &Metadata) -> io::Result<host::__wasi_filetype_t> {
Ok(ret)
}
pub(crate) fn fd_filestat_set_times(
fd: &File,
st_atim: host::__wasi_timestamp_t,
mut st_mtim: host::__wasi_timestamp_t,
fst_flags: host::__wasi_fstflags_t,
) -> Result<()> {
unimplemented!("fd_filestat_set_times")
}
pub(crate) fn path_filestat_get(
resolved: PathGet,
dirflags: host::__wasi_lookupflags_t,