mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
PR-URL: https://github.com/nodejs/node/pull/60125 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> |
||
|---|---|---|
| .. | ||
| c | ||
| wasm | ||
| Makefile | ||
| README.md | ||
| test-return-on-exit.js | ||
| test-wasi-cant_dotdot.js | ||
| test-wasi-clock_getres.js | ||
| test-wasi-exitcode.js | ||
| test-wasi-fd_prestat_get_refresh.js | ||
| test-wasi-ftruncate.js | ||
| test-wasi-getentropy.js | ||
| test-wasi-getrusage.js | ||
| test-wasi-gettimeofday.js | ||
| test-wasi-initialize-validation.js | ||
| test-wasi-io.js | ||
| test-wasi-main_args.js | ||
| test-wasi-not-started.js | ||
| test-wasi-notdir.js | ||
| test-wasi-options-validation.js | ||
| test-wasi-poll.js | ||
| test-wasi-preopen_populates.js | ||
| test-wasi-pthread.js | ||
| test-wasi-readdir.js | ||
| test-wasi-sock.js | ||
| test-wasi-start-validation.js | ||
| test-wasi-stat.js | ||
| test-wasi-stdio.js | ||
| test-wasi-symlinks.js | ||
| test-wasi-worker-terminate.js | ||
| test-wasi-write_file.js | ||
| testcfg.py | ||
| wasi.status | ||
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.