mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
208453ef42
Prior to this commit, if uvwasi_init() failed in any way, Node would abort due to a failed CHECK_EQ(). This commit changes that behavior to a thrown exception. PR-URL: https://github.com/nodejs/node/pull/31076 Fixes: https://github.com/nodejs/node/issues/30878 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> |
||
---|---|---|
.. | ||
c | ||
wasm | ||
Makefile | ||
README.md | ||
test-wasi-options-validation.js | ||
test-wasi-require-flag.js | ||
test-wasi-start-validation.js | ||
test-wasi-symlinks.js | ||
test-wasi.js | ||
testcfg.py | ||
wasi.status |
WASI Tests
Compile with clang and wasm32-wasi
target. The clang version used must be
built with wasi-libc. You can specify the location for clang and the sysroot
if needed when running make:
$ make CC=/usr/local/opt/llvm/bin/clang SYSROOT=/path/to/wasi-libc/sysroot