-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error reading files using tinygo #3
Comments
That seems to be a capabilities error: @dicej am I reading that right? Does it mean the Go os.ReadFile is trying to do more with the file than WASI allows? |
Possibly. What's interesting is that, although the "rights" system has been removed entirely from WASI Preview 2, this same issue happens there, also. Also, |
It might be informative to know if this happens (and if it has the same error number) on Windows or Linux; needless to say, Adam ran into it the very week I am away from my Windows/WSL machine... |
I tested on linux amd64 and got the same error |
this is still an issue. Was able to repro on arm macOS |
Still an issue today, as reported by @asteurer |
Possibly related, though this specific issue is allegedly fixed: tinygo-org/tinygo#2382 |
Also possibly related: bytecodealliance/wizer#24 |
When trying to read a file in tinygo it returns the error
open /test.txt: errno 76
Here is my test application https://github.com/adamreese/spin-fs-issue
The text was updated successfully, but these errors were encountered: