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
syscall: EBADFD not defined for the wasip1 target #60998
Comments
CC @johanbrandhorst: sorry about the direct mention. I'm pinging you since you are in charge of the WASI port, and I think this might be relevant for you |
Change https://go.dev/cl/506175 mentions this issue: |
/cc @golang/wasm |
There are lots of systems that don't define |
I don't know much about wasi, but if the wasi C library does define and use |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to compile some code using the
spf13/afero
library to the wasip1 targetA simple reproducer can be found here:
https://go.dev/play/p/3KyfMD2DTUd
What did you expect to see?
I expected the compilation to be successful
What did you see instead?
The compilation failed with this error:
The text was updated successfully, but these errors were encountered: