Skip to content

Commit d41f10e

Browse files
aykevldeadprogram
authored andcommitted
guides/build: add binaryen build step
This is necessary for WebAssembly.
1 parent 5929c90 commit d41f10e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/docs/guides/build.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,11 @@ To be able to use TinyGo on a bare-metal target, you need to generate some files
184184
make gen-device
185185
```
186186

187-
To be able to use TinyGo to build WebAssembly binaries, you will need to compile [wasi-libc](https://github.com/WebAssembly/wasi-libc):
187+
To be able to use TinyGo to build WebAssembly binaries, you will need to compile [wasi-libc](https://github.com/WebAssembly/wasi-libc) and [Binaryen](https://github.com/WebAssembly/binaryen):
188188

189189
```shell
190190
make wasi-libc
191+
make binaryen
191192
```
192193

193194
These command may need to be re-run after some updates in TinyGo.

0 commit comments

Comments
 (0)