package mirage-os-shim
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=4e2a31b3db2ff65b61da760c7a610ce61cca1f3a8328fd5b889c34e9d6b77741
md5=1c091d5e4265b27bbc60f48dc1085ffb
Description
mirage-os-shim is the intersection of the Mirage OS APIs exported under the OS
modules by various Mirage backends. It shims out this interface under the same
cmi
, and installs several implementations, that pass through to their
respective backends.
Clients need to be compiled against the common mirage_OS.cmi
, and use the
module Mirage_OS
. Final applications need to be linked using ocamlfind
, and
have to define one of the ocamlfind
predicates corresponding to the actual
OS
implementations: mirage_unix
, mirage_xen
, or mirage_solo5
.
When using ocamlbuild
, this is
ocamlfind -use-ocamlfind -tag 'predicate(unix)'
or similar.
WARNING Direct access to the OS
interface is largely deprecated. The
interface is pretty volatile. It is highly likely that you, in fact, do not need
this package at all.
mirage-os-shim is distributed under the ISC license.
Published: 15 Jun 2018
README
mirage-os-shim — Portable shim for MirageOS APIs
v3.0.1
mirage-os-shim is the intersection of the Mirage OS APIs exported under the OS
modules by various Mirage backends. It shims out this interface under the same cmi
, and installs several implementations, that pass through to their respective backends.
Clients need to be compiled against the common mirage_OS.cmi
, and use the module Mirage_OS
. Final applications need to be linked using ocamlfind
, and have to define one of the ocamlfind
predicates corresponding to the actual OS
implementations: mirage_unix
, mirage_xen
, or mirage_solo5
.
When using ocamlbuild
, this is ocamlfind -use-ocamlfind -tag 'predicate(unix)'
or similar.
WARNING Direct access to the OS
interface is largely deprecated. The interface is pretty volatile. It is highly likely that you, in fact, do not need this package at all.
mirage-os-shim is distributed under the ISC license.
Dependencies (5)
- lwt
-
topkg
build
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.01.0"
Dev Dependencies
None
Used by (1)
-
mirage-entropy
< "0.5.0"
Conflicts (6)
-
mirage-solo5
>= "0.5.0"
-
mirage-solo5
< "0.2.0"
-
mirage-xen
>= "3.1.0"
-
mirage-xen
< "3.0.0" | >= "6.0.0"
-
mirage-unix
>= "3.1.0"
-
mirage-unix
< "3.0.0"