Skip to content
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

Enable c_api-backends to be used in Wasmer's implementation of the wasm_c_api #5224

Open
xdoardo opened this issue Nov 6, 2024 — with Linear · 0 comments · May be fixed by #5443
Open

Enable c_api-backends to be used in Wasmer's implementation of the wasm_c_api #5224

xdoardo opened this issue Nov 6, 2024 — with Linear · 0 comments · May be fixed by #5443
Assignees
Labels
Feature 📦 lib-api About wasmer 📦 lib-c-api About wasmer-c-api 🕵️ needs investigation The issue/PR needs further investigation

Comments

Copy link
Collaborator

xdoardo commented Nov 6, 2024

Due to duplicate symbols we can't, as of now, produce a wasm-c-api-compatible header to interact with wasmer compiled with a backend that uses a c_api backend.

We should investigate how to enable this use case. A possible solution might be to use objcopy with the --prefix-symbols flag.


Following the comments in #5389, we note that solving this issue might be also a good chance to revamp a bit the structure of the wasm_c_api, especially the feature mechanisms.

@xdoardo xdoardo added Feature 📦 lib-api About wasmer 📦 lib-c-api About wasmer-c-api 🕵️ needs investigation The issue/PR needs further investigation labels Nov 6, 2024 — with Linear
@xdoardo xdoardo self-assigned this Nov 6, 2024
@xdoardo xdoardo changed the title Enable c_api-backends to be used with wasmer.h Enable c_api-backends to be used in Wasmer's implementation of the wasm_c_api Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature 📦 lib-api About wasmer 📦 lib-c-api About wasmer-c-api 🕵️ needs investigation The issue/PR needs further investigation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant