Closed martijneken closed 1 year ago
Thanks for the PR. This is correct given the current state of the world. However, after talking to some of the other maintainers, I don't think emscripten wants to commit to STANDALONE_WASM
being detected like this, and I was a bit too quick to add that #ifdef
to absl. Instead, I'm going to remove the #ifdef
that checks for STANDALONE_WASM
from absl and improve their code so that it continues to work with JS contexts via EM_JS
but also doesn't crash if being built for standalone mode.
This fixes libraries using conditional dependencies, such as Abseil: https://github.com/search?q=repo%3Aabseil%2Fabseil-cpp+standalone_wasm&type=code