upstream fixes are pending for symlink_create & nofollow_errors on windows

This commit is contained in:
Pat Hickey
2021-02-02 16:16:22 -08:00
parent cd02e5a942
commit 857ef411b5
2 changed files with 4 additions and 2 deletions

View File

@@ -199,8 +199,9 @@ mod wasi_tests {
"fd_flags_set", "fd_flags_set",
"path_filestat", "path_filestat",
"symlink_filestat", "symlink_filestat",
// waiting on DirExt::delete_file_or_symlink // upstream fixes pending:
"symlink_create", "symlink_create", // cap-std #149
"nofollow_errors", // cap-std #149 and #150
// Trailing slash related bugs // Trailing slash related bugs
"interesting_paths", "interesting_paths",
"path_rename_file_trailing_slashes", "path_rename_file_trailing_slashes",

View File

@@ -173,6 +173,7 @@ impl TryFrom<std::io::Error> for types::Errno {
winerror::ERROR_DIRECTORY => Some(types::Errno::Notdir), winerror::ERROR_DIRECTORY => Some(types::Errno::Notdir),
winerror::ERROR_ALREADY_EXISTS => Some(types::Errno::Exist), winerror::ERROR_ALREADY_EXISTS => Some(types::Errno::Exist),
winerror::ERROR_STOPPED_ON_SYMLINK => Some(types::Errno::Loop), winerror::ERROR_STOPPED_ON_SYMLINK => Some(types::Errno::Loop),
winerror::ERROR_DIRECTORY_NOT_SUPPORTED => Some(types::Errno::Isdir),
_ => None, _ => None,
} }
} }