-
Notifications
You must be signed in to change notification settings - Fork 74
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
Issue with function out index #39
Comments
How many functions are imported? |
there are 6 import functions. |
Imports and internal functions get combined into the same index, so if you have 6 imports and 78 internals, the total is 84. |
I understand maybe i forgot to add import functions reference, is there some small example like import function that return current datetime? should be like this:
If i try also without import anything i have error: "throw new StackTooSmallException(opcode, 1, stackCount);" (opcode = WebAssembly.OpCode.BranchIf , stackCount = 0) Thanks. |
The import code looks fine, but the |
I have issue with this wasm link bellow:
on Wasm code it aim to global index 81:
'Index was out of range" there is module.export that say is function index 81 but there are only 78 functions then throw error out of index i dont understand how to fix it
https://1drv.ms/u/s!AulOcG5BxeF6hqEWBbV0rMgcKlKLiw?e=iZeeYE
The text was updated successfully, but these errors were encountered: