Module Brzo_ocaml_conf

Brzo OCaml domain configuration.

OCaml configuration

include Brzo.Pre_domain.CONF
type t
val tid : t B0_std.Type.Id.t
val keys : B0_std.String.Set.t
val parse : (B0_sexp.Sexp.t * B0_sexp.Sexpq.path) -> (t, string) Stdlib.result
val parse_with_cli : ((B0_sexp.Sexp.t * B0_sexp.Sexpq.path) -> (t, string) Stdlib.result) Cmdliner.Term.t
val pp : t B0_std.Fmt.t
type target = [
  1. | `Byte
  2. | `Html
  3. | `Native
  4. | `Node
]

The type for OCaml compilation targets.

val target_to_string : target -> string

target_to_string t is t as a string token.

val default_target : default_native_if:B0_memo.Tool.t -> B0_memo.t -> target option -> target B0_std.Fut.t
val target : t -> target option
val ocamlpath : t -> B0_std.Fpath.t list
val libs : t -> B0_std.Fpath.t list
val lock_libs : t -> bool