nodejs / uvwasi

WASI syscall API built atop libuv
MIT License
226 stars 50 forks source link

Fix ts.tv_sec overflow on 32-bit builds #161

Closed vshymanskyy closed 3 years ago

vshymanskyy commented 3 years ago

@cjihrig please take a look.

Found using UBSan (-fsanitize=undefined)

This should resolve some failing Wasm3 tests on Windows and 32-bit builds: https://github.com/wasm3/wasm3/actions/runs/669720803

cjihrig commented 3 years ago

Thank you for the fix. Can you rebase this now that https://github.com/nodejs/uvwasi/pull/160 has landed and see if that fixes the Android build?