node/test/wasi
Node.js GitHub Bot edc3e5d056
deps: update uvwasi to 0.0.21
PR-URL: https://github.com/nodejs/node/pull/52863
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-05-21 14:33:12 +02:00
..
c deps: update uvwasi to 0.0.21 2024-05-21 14:33:12 +02:00
wasm deps: update uvwasi to 0.0.21 2024-05-21 14:33:12 +02:00
Makefile
README.md wasi: fix up wasi tests for ibmi 2023-11-11 19:54:38 +01:00
test-return-on-exit.js
test-wasi-exitcode.js test: split wasi tests 2024-03-25 19:27:16 +00:00
test-wasi-initialize-validation.js
test-wasi-io.js test: split wasi tests 2024-03-25 19:27:16 +00:00
test-wasi-not-started.js test: ensure never settling promises are detected 2023-12-11 11:11:46 +00:00
test-wasi-options-validation.js
test-wasi-poll.js test: split wasi poll test for windows 2024-05-03 08:30:32 +02:00
test-wasi-start-validation.js
test-wasi-stdio.js
test-wasi-symlinks.js deps: update uvwasi to 0.0.20 and fixup tests 2024-03-25 19:24:01 +00:00
test-wasi-worker-terminate.js
test-wasi.js test: split wasi tests 2024-03-25 19:27:16 +00:00
testcfg.py
wasi.status test: split wasi poll test for windows 2024-05-03 08:30:32 +02:00

WASI Tests

Compile with clang and wasm32-wasi target by using the wasi-sdk version 20

Install wasi-sdk and then set WASI_SDK_PATH to the root of the install.

You can then rebuild the wasm for the tests by running:

make CC=${WASI_SDK_PATH}/bin/clang SYSROOT=${WASI_SDK_PATH}/share/wasi-sysroot

If you update the version of the wasi-sdk to be used for the compile remove all of the *.wasm files in the wasm directory to ensure you rebuild/test all of the tests with the new version.