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

Expose interfaces of an import Wasm module by macro #134

Open
mikevoronov opened this issue Nov 21, 2021 · 1 comment
Open

Expose interfaces of an import Wasm module by macro #134

mikevoronov opened this issue Nov 21, 2021 · 1 comment

Comments

@mikevoronov
Copy link
Member

At the moment, to import Wasm module into service project, it's necessary to list all it's interfaces in code. But it could be difficult to do since a Wasm module could contain a lot of export functions. The more handy way to do that is to introduce a new macro that could collect all export functions from a Wasm binary and expose them to code.

@ValeryAntopol
Copy link
Collaborator

ValeryAntopol commented Nov 24, 2021

Should we use build.rs instead? This feature was designed exactly for that.

Also, do we need to load modules from network, like in #133 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants