package wasmtime

  1. Overview
  2. Docs
Wasmtime bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.0.1c.tar.gz
md5=430db93c83b112f1adedef0f230d1986
sha512=c578e0b346ba981f4dadac9a35b9e271843880fea88826c83687c5651d6f0b5fda00d5ceb4c019dd961e0a748a05f39be633cbf8eda3ab6c7204e2f5ca82d11e

README.md.html

ocaml-wasmtime

OCaml WebAssembly runtime powered by wasmtime

This library let you run WebAssembly modules within OCaml with some support for wasi for system calls. It acts as a low-level and typesafe wrapper around the wasmtime C library, only a subset of the functions are supported for now but it should be enough to run some basic examples, see the tests directory for details.

Installation

  • Download the wasmtime c-api library from the github repo.

  • Uncompress the archive and copy the include and lib directory in the wasmtime directory of this repo.

  • Run dune runtest to run the examples.

This has been tested with wasmtime v0.21.0 on a Linux platform.

OCaml

Innovation. Community. Security.