We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0562fd5 commit fd3c186Copy full SHA for fd3c186
wasm2c/README.md
@@ -109,11 +109,11 @@ int main(int argc, char** argv) {
109
## Compiling the wasm2c output
110
111
To compile the executable, we need to use `main.c` and the generated `fac.c`.
112
-We'll also include `wasm-rt-impl.c` which has implementations of the various
+We'll also include `wasm-rt-impl.c` and `wasm-rt-mem-impl.c`, which have implementations of the various
113
`wasm_rt_*` functions used by `fac.c` and `fac.h`.
114
115
```sh
116
-$ cc -o fac main.c fac.c wasm-rt-impl.c
+$ cc -o fac main.c fac.c wasm2c/wasm-rt-impl.c wasm2c/wasm-rt-mem-impl.c -Iwasm2c -lm
117
```
118
119
A note on compiling with optimization: wasm2c relies on certain
0 commit comments