-
Notifications
You must be signed in to change notification settings - Fork 161
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
adding wasmer_runtime_c_api for musl #113
Comments
Since 8 days, we officially support musl (see wasmerio/wasmer#1180). We can wait the next release (will happen in few days) to update |
Any plan to update to the new wasmer capi from 0.14.1 ? |
Yes, we are working on updating it. More info: #120 (note: it should be merged soon) |
thanks, |
It is still a WIP. |
Hi, Any update on this ? |
Didn't make any progress on that front for the moment. I'm moving it on top of my todo list! |
Waiting on wasmerio/wasmer#2003. |
It seems like everything is merged – how does one compile a Go binary using |
I think we would need to support static lib (not a big deal) before proposing musl builds. Thoughts? |
Thanks for the bug report!
Describe the bug
I create a wasmer_runtime_c_api for musl to be able to deploy my Wasmer Go application using the super small Alpine based Docker image.
I copied it to the wasmer directory, but CGO always select the wasmer_runtime_c_api.so instead of my static wasmer_runtime_c_api.a library.
Because Alpine is non glibc compatible, linking go-ext-wasm with wasmer_runtime_c_api.so fails.
But linking it with the static library I created for musl works fine.
Question
1-What is the best way to add the musl based static library and make bridge.go to link the right library ?
2- When linking with my static library int32_t is not recognized when I define an extern C based function. any clue why its that ?
Thanks
-- Diego
The text was updated successfully, but these errors were encountered: