-
Notifications
You must be signed in to change notification settings - Fork 646
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
Invoke other wasm function in native api: "Exception: invalid exec env" #3988
Comments
It's advisable not to use For reference, please look at the examples in samples/basic or samples/spawn-thread, depending on your specific use case. If that's acceptable, please share your embedded code for discussion. |
Thanks for your response. Here is a simplified version of the code I’m working with: hello.wasm
world.wasm
host_app
native api wrapper
expected result:
but result:
|
Ah, I understand now. In that situation, you would require the multi-module feature to complete the task( You can find an example that addresses this type of problem here. It serves as a reference for resolving similar cases. |
I'm trying to invoke a wasm function (of another instance) in my native api, but failed with "Exception: invalid exec env". Is it impossible to achieve this without setting WAMR_DISABLE_HW_BOUND_CHECK? Any guidance would be appreciated.
The text was updated successfully, but these errors were encountered: