emscripten
emscripten copied to clipboard
EXTRA_EXPORTED_RUNTIME_METHODS not considered for functions exported from library_fs.js
Hi,
When trying to add FS exported functions (such as FS_writeFile which is not exported by default), adding them to EXTRA_EXPORTED_RUNTIME_METHODS has no effect since only EXPORTED_RUNTIME_METHODS is considered there.
See line 8 of library_fs.js : https://github.com/kripken/emscripten/blob/incoming/src/library_fs.js#L8
Maybe it would be better to merge the two list at the beginning of the code so that everything is considered everywhere ?
Yes, I agree, that sounds like what we should be doing.
@kripken, can you close this, please, since a fix has been merged?