Skip to content

Commit fd3c186

Browse files
authored
wasm2c/README.md: update to reflect new compile command post-#2308 (#2390)
1 parent 0562fd5 commit fd3c186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wasm2c/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ int main(int argc, char** argv) {
109109
## Compiling the wasm2c output
110110
111111
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
112+
We'll also include `wasm-rt-impl.c` and `wasm-rt-mem-impl.c`, which have implementations of the various
113113
`wasm_rt_*` functions used by `fac.c` and `fac.h`.
114114
115115
```sh
116-
$ cc -o fac main.c fac.c wasm-rt-impl.c
116+
$ cc -o fac main.c fac.c wasm2c/wasm-rt-impl.c wasm2c/wasm-rt-mem-impl.c -Iwasm2c -lm
117117
```
118118

119119
A note on compiling with optimization: wasm2c relies on certain

0 commit comments

Comments
 (0)