Files
node/test/wasi
James M Snell 0713ee3a17 test: simplify common/index.js
Move single or trivial and limited use things out of
common/index.js for the purpose of simplifying and reducing
common/index.js

PR-URL: https://github.com/nodejs/node/pull/56712
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2025-01-25 07:23:09 +00:00
..
2024-05-08 15:42:43 -04:00
2024-05-08 15:42:43 -04:00
2022-12-08 04:22:37 +00:00
2023-10-04 16:35:39 +00:00
2024-02-24 17:55:27 +00:00
2025-01-25 07:23:09 +00:00
2023-08-21 16:41:53 +00:00
2024-02-24 17:55:27 +00: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.