You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a small Wasm text format program that tries to open a file named file in preopened directories. If it is able to open the file, the program calls fd_datasync on it. On other runtimes I've tested, the program returns 0 indicating success. But on Wasmer, it returns 2 acces. The file is opened with the fd_datasync bit set.
Describe the bug
I wrote a small Wasm text format program that tries to open a file named
file
in preopened directories. If it is able to open the file, the program callsfd_datasync
on it. On other runtimes I've tested, the program returns 0 indicating success. But on Wasmer, it returns 2acces
. The file is opened with thefd_datasync
bit set.Steps to reproduce
Create a file named
file
in a directory, saytestdata
. Run the following program with this command:Expected behavior
Program should exit with status code 0.
Actual behavior
Program exits with status code 2.
Additional context
The text was updated successfully, but these errors were encountered: