emscripten-core / emscripten-core/emscripten
No DynCalls in STANDALONE_WASM?
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
I am making a build with ` --no-entry -s STANDALONE_WASM` set and have noticed there are no DynCall exports in it. After perusing the change log, I inferred the first param on an invoke_x import is supposed to be the index offset from the `__indirect_function_table`, is that correct?
I have gone through and tried to implement it so the first param passed to an invoke_x method is used as the index on the table.get method but I seem to get errors sometimes that say `undefined element: out of bounds table access`. Am I doing this correctly, or is there something more to implementing these dyncalls?
Contributor guide
Assessment
This issue has not been assessed yet.