Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: document mininum requirements #1762

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ See
[opam](https://github.com/ocsigen/js_of_ocaml/blob/master/js_of_ocaml-compiler.opam)
file for version constraints.

## Supported engines

The generated code works with Node.js 16 or any recent web-browser compatible with ECMAScript 6.
We optionally rely on js `WeakRef`, which is part of ECMAScript 2021, to implement `Stdlib.Weak` and `Stdlib.Ephemeron`.

### Toplevel requirements

- tyxml, reactiveData
Expand Down
2 changes: 1 addition & 1 deletion README_wasm_of_ocaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Wasm_of_ocaml is a fork of Js_of_ocaml which compiles OCaml bytecode to WebAssem

## Supported engines

The generated code works with Chrome 11.9, Node.js 22 and Firefox 122 (or more recent versions of these applications).
The generated code works with Chrome 119, Node.js 22 and Firefox 122 (or more recent versions of these applications).
hhugo marked this conversation as resolved.
Show resolved Hide resolved

In particular, the output code requires the following [Wasm extensions](https://webassembly.org/roadmap/) to run:
- [the GC extension](https://github.com/WebAssembly/gc), including functional references and 31-bit integers
Expand Down
Loading