node/test/wasi
Voltrex 46a7e61900 wasi: use missing validator
The `wasi` lib module's `initialize()` method is missing a validator.

PR-URL: https://github.com/nodejs/node/pull/39070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2021-06-26 16:31:30 +02:00
..
c test: add wasi readdir() test 2020-09-17 18:57:38 +00:00
wasm test: add wasi readdir() test 2020-09-17 18:57:38 +00:00
Makefile wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
README.md wasi: introduce initial WASI support 2019-11-30 18:06:39 +01: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 wasi: use missing validator 2021-06-26 16:31:30 +02:00
test-wasi-not-started.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-wasi-options-validation.js wasi: allow WASI stdio to be configured 2020-05-30 04:28:02 +02:00
test-wasi-require-flag.js wasi: require CLI flag to require() wasi module 2019-12-17 06:02:04 +01:00
test-wasi-start-validation.js wasi: use missing validator 2021-06-26 16:31:30 +02:00
test-wasi-stdio.js wasi: drop --experimental-wasm-bigint requirement 2020-10-18 20:17:43 +02:00
test-wasi-symlinks.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07: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 test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
testcfg.py wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
wasi.status test: fix wasi/test-return-on-exit on 32-bit systems 2021-03-08 05:53:04 -08:00

README.md

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