node/test/wasi
snek 7bd6a2c258
wasi: fast calls
PR-URL: https://github.com/nodejs/node/pull/43697
Backport-PR-URL: https://github.com/nodejs/node/pull/45908
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2022-12-28 08:17:13 +00:00
..
c
wasm wasi: fast calls 2022-12-28 08:17:13 +00:00
Makefile wasi: fast calls 2022-12-28 08:17:13 +00:00
README.md doc: prepare markdown file for upcoming formatting/linting 2021-09-21 17:00:23 -07:00
test-return-on-exit.js test: fix wasi/test-return-on-exit on 32-bit systems 2021-03-08 05:53:04 -08:00
test-wasi-initialize-validation.js test: add lint rule to enforce trailing commas 2022-11-21 15:16:25 -05:00
test-wasi-not-started.js test: add lint rule to enforce trailing commas 2022-11-21 15:16:25 -05:00
test-wasi-options-validation.js
test-wasi-require-flag.js
test-wasi-start-validation.js test: add lint rule to enforce trailing commas 2022-11-21 15:16:25 -05:00
test-wasi-stdio.js
test-wasi-symlinks.js test: add lint rule to enforce trailing commas 2022-11-21 15:16:25 -05:00
test-wasi-worker-terminate.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-wasi.js wasi: fast calls 2022-12-28 08:17:13 +00:00
testcfg.py
wasi.status test: fix wasi/test-return-on-exit on 32-bit systems 2021-03-08 05:53:04 -08:00

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