Module Dune.Compilation_mode

A variant used by dune in the configuration of the compilation and linking modes of build artifacts such as libraries and executables.

type t = [
  1. | `byte
  2. | `native
  3. | `best
  4. | `melange
]
val all : t list
include Container_key.S with type t := t
val compare : t -> t -> int
val equal : t -> t -> bool
val hash : t -> int
val seeded_hash : int -> t -> int
val sexp_of_t : t -> Sexplib0.Sexp.t
val t_of_sexp : Sexplib0.Sexp.t -> t