mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
We had a few code snippets that were using a non-descriptive tag (e.g. `console` or `text`), whereas the actual language it's using describes it better, and improves the syntax highlighting. This commit also removes non-necessary leading chars (e.g. `$`, `>`, or `%`) to make it easier for readers to copy and paste to try the command themselves. PR-URL: https://github.com/nodejs/node/pull/48082 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
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