You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the changes introduced in #8306 EXPORT_ES6 now works with USE_PTHREADS. However I couldn't get the assertions for checking if the runtime is initialised to work in a worker.
There is an assertion added here:
The way I'm fixing that for my build is to change the mentioned line to: receiving = "if (!ENVIRONMENT_IS_PTHREAD) {\n" + receiving + "}\n"
I think a better solution is needed to fix this properly, but if someone desperately needs EXPORT_ES6 + USE_PTHREADS + ASSERTIONS, then this should at least get things running.
Due to the changes introduced in #8306 EXPORT_ES6 now works with USE_PTHREADS. However I couldn't get the assertions for checking if the runtime is initialised to work in a worker.
There is an assertion added here:
emscripten/emscripten.py
Line 1705 in 1e5317c
But without that it would throw with
TypeError: Cannot assign to read only property '${overwritten_property_name}' of object '[object Object]'
As far as I can tell it's only that block of assertion that have trouble.
See this comment chain for more discussion: #8306 (comment)
The text was updated successfully, but these errors were encountered: