You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: wasm/README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,15 @@ To rebuild `wasi_polyfill.wasm`: `make wasi_polyfill.wasm`
12
12
Examples:
13
13
14
14
```
15
-
node run.js -v
16
-
node run.js $PWD/test.sass
17
-
node run.js $PWD/test.sass $PWD/test.css
15
+
node cli.js -v
16
+
node cli.js $PWD/test.sass
17
+
node cli.js $PWD/test.sass $PWD/test.css
18
18
```
19
19
20
20
Note: Use full path for the file names and only in the current dir (hence `$PWD/` prefix).
21
21
22
+
# wasi-sdk prerequisite
22
23
24
+
Clone, build and install the [wask-sdk](https://github.com/CraneStation/wasi-sdk), e.g. `make PREFIX=~/bin wasi-sdk/ LLVM_PROJ_DIR=~/Work/llvm-project/`
25
+
26
+
Note: used `bdaa39ea6ca4` commit of llvm-project, older versions (e.g. LLVM 8 used by wasi-sdk) when used causing the "std::__2::random_device::random_device" error.
0 commit comments