package ocaml-emcc

Build not yet checked
  1. Overview
  2. No Docs
Compile OCaml programs with C stubs to WebAssembly with emscripten

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.5.1.tar.gz
sha256=20b6a4c93cacf239e0122498d681ca695aca3d6de984b8596fc9fadd25af75cd
sha512=3f0338eb641f668627927ab86df328359faefc12e0186c0e06da5ab3ec0866e33e3c488ab2365fd234a3eda9e41f19b329ba7f137acb36ddcf774c6591905c50

Description

ocaml-emcc runs OCaml bytecode on an emscripten build of ocamlrun and links the C stubs of the program and of its dependencies statically, which makes FFI-heavy libraries (zarith/gmp, apron, libclang...) usable in the browser and in node. The runtime is rebuilt from the sources of the switch's own compiler (any version from 4.08, including 5.x), C libraries come from recipes. Requires the emscripten SDK (emsdk) in PATH.

Added to opam-repository:

Dependencies (2)

  1. ocaml >= "4.08"
  2. dune >= "3.11"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building ocaml-emcc with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.4.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure