Skip to content

Commit

Permalink
wasm2c/README.md: update to reflect new compile command post-WebAssem…
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw authored Feb 12, 2024
1 parent 0562fd5 commit fd3c186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wasm2c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ int main(int argc, char** argv) {
## Compiling the wasm2c output
To compile the executable, we need to use `main.c` and the generated `fac.c`.
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
`wasm_rt_*` functions used by `fac.c` and `fac.h`.
```sh
$ 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
```

A note on compiling with optimization: wasm2c relies on certain
Expand Down

0 comments on commit fd3c186

Please sign in to comment.