package mirage

  1. Overview
  2. Docs
The MirageOS library operating system

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-4.10.5.tbz
sha256=c0b2deb8f9cfec44f9dbc256a18b50944f2aa8fcba84aef3165abebd23476e0c
sha512=e354f1cb4d12b424c22b9add0851a8750fe09f095ca97f0ec0360b18f7c69db60b155fdd18b0d7a6cea3432e63f20e4695a5bccaac3fc34588348e4311baa1c5

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.