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
I think it basically supports it as is (no real testing done, but it compiles and tuple-vector worked fine). I just added the following to eaplatform.h
--- a/eastl/EABase/config/eaplatform.h+++ b/eastl/EABase/config/eaplatform.h@@ -619,6 +619,16 @@
// __sun is defined by the GCC compiler.
// __i386 is defined by the Sun and GCC compilers.
// __sparc is defined by the Sun and GCC compilers.
++#elif defined(__EMSCRIPTEN__) || defined(__wasm__) || defined(__wasm32__) || defined(__wasm64__)+ #define EA_PROCESSOR_EMSCRIPTEN 1+ #define EA_SYSTEM_LITTLE_ENDIAN 1+ #define EA_PLATFORM_DESCRIPTION "Emscripten WASM"+ #define EA_PLATFORM_POSIX 1+ #define EASTL_DEBUG_BREAK_OVERRIDE 1 // disable it+
#else
#error Unknown platform
#error Unknown processor
Currently, building for emscripten fails with:
Is support ever planed or is it ouside the scope of this project?
The text was updated successfully, but these errors were encountered: