emscripten-core / emscripten-core/emscripten
Should we support trailing JS code in EM_JS macros
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
It turns out that the EM_JS macro can do more than just create a JS function.
Trailing JS code is also inserted and run as top-level code. See #23875.
Should we officially support this is?
Contributor guide
Assessment
This issue has not been assessed yet.