package mirage

  1. Overview
  2. Docs
The MirageOS library operating system

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-4.11.2.tbz
sha256=2cbd7924f82d85ad8ed6bab2f8dc95e6bd15a723532193b56af01813ab20b1a7
sha512=995dd413d02cf279d4de4178d0fda61fdcbad9518f2b114eb76d0c16cd4eeb602fbd44a8916e29b62b307fca9a5f374f7c3d104287f4f7ee9c89e706876a9895

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.