-
Notifications
You must be signed in to change notification settings - Fork 624
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
Add ability to get import and export information from wasm_export interface #3329
Labels
Comments
bnason-nf
added a commit
to bnason-nf/wasm-micro-runtime
that referenced
this issue
Apr 17, 2024
Potential implementation for bytecodealliance#3329.
@lum1n0us as we discussed in #1740, I've created this issue and a corresponding pull request. I'm not sure if this matches what you'd like to see stylistically, but it's a pretty simple implementation and fully provides the functionality I'm looking for. I'm happy to make any adjustments you'd like to see. |
👍 Can't agree more. |
wenyongh
pushed a commit
that referenced
this issue
Apr 20, 2024
victoryang00
pushed a commit
to victoryang00/wamr-aot-gc-checkpoint-restore
that referenced
this issue
May 1, 2024
victoryang00
pushed a commit
to victoryang00/wamr-aot-gc-checkpoint-restore
that referenced
this issue
May 2, 2024
) Resolves bytecodealliance#3329. Signed-off-by: victoryang00 <victoryang00@ucsc.edu>
victoryang00
pushed a commit
to victoryang00/wamr-aot-gc-checkpoint-restore
that referenced
this issue
May 27, 2024
victoryang00
pushed a commit
to victoryang00/wamr-aot-gc-checkpoint-restore
that referenced
this issue
May 27, 2024
) Resolves bytecodealliance#3329. Signed-off-by: victoryang00 <victoryang00@ucsc.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature
When using the wasm_export API, it currently doesn't seem possible to get information about the imports and exports of a module. When using the wasm_c_api API, that information is exposed. It would be nice to add support for this in wasm_export also.
Benefit
Using wasm_export is beneficial in some cases where the added functionality it provides is desired, but if it's not a superset of wasm_c_api then there are drawbacks to using either API.
There is a little more discussion in issue #1740.
Implementation
I have a working implementation, and will submit a pull request of that as a starting point for the desired implementation.
Alternatives
The only alternative I'm aware of is extremely ugly and unsafe:
The text was updated successfully, but these errors were encountered: