package mirage

  1. Overview
  2. Docs
The MirageOS library operating system

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-4.11.1.tbz
sha256=58488022e67513a370f1de91297b6c0de15dd15584381276028c08d4ab4ae158
sha512=0ddc27adfdaa88a5ff492261de57d40df89a968db18501b16ac83393446f994f50674b40345625382728a731c22aa82e70675c400310d015829bf0ec1980ecb2

doc/mirage.devices/Devices/Target/module-type-TARGET/index.html

Module type Target.TARGETSource

A Mirage target: target consists in multiple backends grouped together.

type t

The type representing a specific backend in a target.

val cast : Key.mode -> t

Ensures the mode is a backend supported by this target.

val dune : Info.t -> Dune.stanza list

Dune rules to build the unikernel

val out : Info.t -> string

Name of the output file (with extension) for this target

val configure : Info.t -> unit Action.t

Configure-time actions.

val build_context : ?build_dir:Fpath.t -> Info.t -> Dune.stanza list

Generate build context configuration

val context_name : Info.t -> string

Dune context

val packages : t -> Functoria.DSL.package list

The required packages to support this backend.

val install : Info.t -> Install.t

install i returns which files are installed in context i.