wasm-micro-runtime/core/iwasm/libraries/libc-uvwasi
zoraaver 8c27676718
Return uint32 from WASI functions (#2749)
Returning uint16 from WASI functions is technically correct. However,
the smallest integer type in WASM is int32 and since we don't guarantee
that the upper 16 bits of the result are zero'ed, it can result in
tricky bugs if the language SDK being used in the WASM app does not cast
back immediately to uint16. To prevent this, we directly return uint32
instead, so that the result is well-defined as a 32-bit number.
2023-11-13 20:07:32 +08:00
..
FindLIBUV.cmake Use system libuv if available (#1861) 2023-06-26 08:37:10 +08:00
FindUVWASI.cmake Use system libuv if available (#1861) 2023-06-26 08:37:10 +08:00
libc_uvwasi_wrapper.c Return uint32 from WASI functions (#2749) 2023-11-13 20:07:32 +08:00
libc_uvwasi.cmake Update libuv version to v1.46.0 (#2405) 2023-07-31 18:32:20 +08:00
LICENSE_LIBUV Add libuv and uvwasi to attributions (#1057) 2022-03-24 10:05:10 +08:00
LICENSE_UVWASI Add libuv and uvwasi to attributions (#1057) 2022-03-24 10:05:10 +08:00