Browse Source

Update src/sys/windows/hostcalls_impl/fs.rs

Co-Authored-By: Jakub Konka <kubkon@jakubkonka.com>
pull/502/head
Marcin Mielniczuk 5 years ago
committed by Jakub Konka
parent
commit
417ec0be01
  1. 2
      src/sys/windows/hostcalls_impl/fs.rs

2
src/sys/windows/hostcalls_impl/fs.rs

@ -288,7 +288,7 @@ pub(crate) fn fd_filestat_get_impl(file: &std::fs::File) -> Result<host::__wasi_
.modified()
.map_err(errno_from_ioerror)
.and_then(systemtime_to_timestamp)?,
st_filetype: filetype(&metadata)?,
st_filetype: filetype(file, &metadata)?,
})
}

Loading…
Cancel
Save