package wasmtime
Wasmtime bindings for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.0.1c.tar.gz
md5=430db93c83b112f1adedef0f230d1986
sha512=c578e0b346ba981f4dadac9a35b9e271843880fea88826c83687c5651d6f0b5fda00d5ceb4c019dd961e0a748a05f39be633cbf8eda3ab6c7204e2f5ca82d11e
Description
Bindings for Wasmtime, a small and efficient runtime for WebAssembly.
Published: 07 Dec 2020
README
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
andlib
directory in thewasmtime
directory of this repo.Run
dune runtest
to run the examples.
This has been tested with wasmtime v0.21.0 on a Linux platform.
Dependencies (8)
- stdio
-
ocaml
>= "4.10"
-
libwasmtime
>= "0.21.0" & < "0.22.0"
- dune-configurator
-
dune
>= "2.7.0"
- ctypes-foreign
-
ctypes
>= "0.5"
-
base
>= "v0.13.0" & < "v0.17"
Dev Dependencies (1)
-
ppx_expect
>= "v0.13.0" & < "v0.15" & with-test
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page