emscripten-core / emscripten-core/emscripten
Show warning if export is not in ASYNCIFY_EXPORTS even for old Asyncify
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
New Asyncify (JSPI) mode will require exports to be explicitly marked with ASYNCIFY_EXPORTS.
While not required by old Asyncify, I believe it would make for an easier upgrade path if Emscripten would already start showing warnings in the console when an exported method is using Asyncify but is not in ASYNCIFY_EXPORTS list.
This would show up only in ASSERTIONS mode so wouldn't affect production in any way. cc @brendandahl
Contributor guide
Assessment
This issue has not been assessed yet.