Skip to content

Commit 612c340

Browse files
committed
Document Binaryen dependency
1 parent 85902e9 commit 612c340

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ Js_of_ocaml is composed of multiple packages:
3030

3131
## Requirements
3232

33-
See
33+
See the
3434
[opam](https://github.com/ocsigen/js_of_ocaml/blob/master/js_of_ocaml-compiler.opam)
35-
file for version constraints.
35+
files for version constraints.
36+
37+
wasm_of_ocaml-compiler additionally depends on a system installation of binaryen (version 119 or later)
3638

3739
## Supported engines
3840

manual/wasm_overview.wiki

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ The compiler is provided by the wasm_of_ocaml-compiler package. The <<a_manual c
1212
The easiest way to install wasm_of_ocaml is to use opam.
1313
{{{opam install wasm_of_ocaml-compiler js_of_ocaml js_of_ocaml-ppx js_of_ocaml-lwt}}}
1414

15+
Binaryen version 119 or later is required. The opam command above will
16+
install it automatically if needed.
17+
1518
== Usage ==
1619

1720
Your program must first be compiled using the OCaml bytecode compiler

0 commit comments

Comments
 (0)