-
Notifications
You must be signed in to change notification settings - Fork 914
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
WASI problem #3834
Comments
Resource limit I think https://pkg.go.dev/syscall#Rlimit |
This error message means that you are (directly or indirectly) importing golang.org/x/sys, which as you see isn't currently supported. Hopefully it will be once we switch to GOOS=wasip1 support (we currently use linux/arm for lack of real WASI support in the Go standard library). |
Thanks for your reply, |
Also see: #3861 |
Did you find a way to track down the package that was causing the issue? I am not building WASI, just the standard tinygo build but the same issue:
Can't track which package is trying to call it though. |
You can try |
Also encountered this issue with some gRPC (proto definitions) dependencies. |
You can try |
Thank you, will this approach become a standard way of compiling to WASI at some point? |
Yes. It only works in Go 1.21+ and right now we support Go versions down to Go 1.18 so I think we should wait a bit before changing the default. |
I am trying to compile the eKuiper project(https://github.com/lf-edge/ekuiper) to Wasi and then use wasmedge to run the compiled binary file. I used TinyGo to compile eKuiper to Wasi, but encountered issues.
When I ran the command below to compile eKuiper to Wasi:
I received the following error message:
I am not sure what causes this error and would appreciate any help. I would like to know why this issue occurs and how to resolve it.
The text was updated successfully, but these errors were encountered: