-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Rust tests from wasmtime #24
Comments
FYI, some of them are testing behaviors which i couldn't find the authoritive text in wasi.
|
This error condition does not occur in POSIX so there is no obvious choice here. Do you have a suggestion for an error code that makes more sense than
No strong opinion here;
This was discussed here: WebAssembly/WASI#193 and
I think you're right; Wasmtime should follow POSIX here and allow
That test is intending to test the POSIX rules. Which parts of it do you find incorrect? |
is there anything which prohibits a WASI implementation from accepting a path with NULs?
ok. thank you.
path_rename_file_trailing_slashes fails on macOS because of errno mismatch.
path_symlink_trailing_slashes fails on Linux for a similar reason.
i'm not sure if it's WASI's responsibility to "fix" nuances of the underlying platforms/filesystems like this. |
Looks like wasmtime already has a good coverage for WASI interface here. It'd be beneficial to move those tests here so other runtimes can easily access them
The text was updated successfully, but these errors were encountered: