Fixes path_symlink_trailing_slashes on Windows

This commit:
* adds missing `ERROR_ALREADY_EXISTS => __WASI_EEXIST` mapping
* re-routes Win errors into correct WASI values in `symlink_*`
  fns when target exists and/or contains a trailing slash
* remaps `ERROR_INVALID_NAME => __WASI_ENOENT`
This commit is contained in:
Jakub Konka
2019-10-28 22:49:50 +01:00
parent 59bbfbc0d7
commit bb5c879718
4 changed files with 22 additions and 2 deletions

View File

@@ -200,7 +200,6 @@ mod wasm_tests {
"truncation_rights" => true,
"fd_readdir" => true,
"path_rename_trailing_slashes" => true,
"path_symlink_trailing_slashes" => true,
_ => false,
}
} else {