I have lots of 32-bits only code which has a number of assumptions around the size of size_t being an int, not a long. This is all code written for 32-bit microcontrollers. In the past this never caused any issues (all the targets that this code target are 32-bit targets anyway) with Emscripten, but since #5916 landed this yields a bunch of broken changes.
Last I checked Emscripten was still a 32 bits platform. Could we get some option to switch the size_t definition back to 4 bytes?
I have lots of 32-bits only code which has a number of assumptions around the size of
size_tbeing anint, not along. This is all code written for 32-bit microcontrollers. In the past this never caused any issues (all the targets that this code target are 32-bit targets anyway) with Emscripten, but since #5916 landed this yields a bunch of broken changes.Last I checked Emscripten was still a 32 bits platform. Could we get some option to switch the
size_tdefinition back to 4 bytes?