package ocaml-solo5

  1. Overview
  2. Docs
On This Page
  1. Build artifacts
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.3.tar.gz
md5=47876167068345542f49279e8fd28896
sha512=272081ec51a6ed69c08e4e8fa64fee3df53fd84c66c0c07a653891c88b342cf74553e1c95711e4fbc18922c899a3448a649f3bd9858f8d89cae834ad2b67fffb

doc/compiler-libs.common/Unit_info/Artifact/index.html

Module Unit_info.Artifact

Build artifacts

type t

Metadata for a single compilation artifact:

  • the module name associated to the artifact
  • the filesystem path
  • the input source file if it exists
val source_file : t -> filename option

source_file a is the source file of a if it exists.

val prefix : t -> file_prefix

prefix a is the filename prefix of the compilation artifact.

val filename : t -> filename

filename u is the filesystem path for a compilation artifact.

val modname : t -> modname

modname a is the module name of the compilation artifact.

val from_filename : filename -> t

from_filename filename reconstructs the module name lax_modname_from_source filename associated to the artifact filename.