wasmer/emtests/README.md

22 lines
494 B
Markdown
Raw Normal View History

2018-12-07 22:55:55 +00:00
This directory contains tests for unit testing each of the functions/syscalls that Emscripten will be doing.
If you want to generate the wasm files, you will just need to:
```
2018-12-11 01:06:55 +00:00
make emtests
```
This process will do something similar to:
```
cc localtime.c -o localtime.out
# Execute the out file and save its output
./localtime.out > ./localtime.output
rm localtime.out
# Generate the .wasm file
2018-12-07 22:55:55 +00:00
emcc localtime.c -o localtime.js
# Delte the js file, as we don't need it
rm localtime.js
```