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
This replaces our custom preprocessor code with eval(). This allows arbitrary conditions in our #ifs, e.g. the __EMSCRIPTEN_HAS_nodefs__ things are now
#if LibraryManager.has('library_workerfs.js')
where that function is a new utility that checks if a library was included.
This patch also switches to things we've wanted to do, like
#if FULL_ES2 || LEGACY_GL_EMULATION
where in the past we had to create a new global for them.
We now error if we do if we ifdef on something nonexistent (the eval call throws), which noticed that we had a bunch of NO_DYNAMIC_EXECUTION code that could be removed (we removed that option a while ago).
0 commit comments