On wasm32 Emscripten's time_t is 64-bit while long stays 32-bit. The
pointer-sized time() binding was a linker signature mismatch that trapped
on the first call, so a web page reading the local time froze (Werkzeug's
Clock), and clock_gettime wrote a 16-byte timespec into an 8-byte struct,
leaving the monotonic clock at whole seconds. PLATFORM_WEB builds now use
64-bit seconds and Emscripten's timespec layout. tests/date_time_linux.sh
checks both modules' layouts against Emscripten's time.h, links with fatal
linker warnings and runs the clocks under node when emcc is available.
std/timer_linux declared struct timespec with two s64 fields, but time_t
and long are 32-bit on armeabi-v7a. MonotonicMilliseconds read garbage or
-1 there, so a Moto e6 play app polled every frame and timed gestures
wrongly. ClockValue now uses isize, which lowers to a pointer-sized C type
like long on Linux and Android. tests/timer_linux.sh checks the layout
against struct timespec, also for armv7a and aarch64 Android when
ZIRAN_THREAD_ANDROID_NDK is set; the self-test passed on the Moto.