`sig
type 'a conv
val conv :
?docv:string ->
(string -> 'a Topkg.result) ->
(Stdlib.Format.formatter -> 'a -> unit) -> 'a Topkg.Conf.conv
val bool : bool Topkg.Conf.conv
val int : int Topkg.Conf.conv
val string : string Topkg.Conf.conv
val fpath : Topkg.fpath Topkg.Conf.conv
val some : ?none:string -> 'a Topkg.Conf.conv -> 'a option Topkg.Conf.conv
type 'a key
val key :
?docv:string ->
?doc:string ->
?env:string ->
string -> 'a Topkg.Conf.conv -> absent:'a -> 'a Topkg.Conf.key
val discovered_key :
?docv:string ->
?doc:string ->
?env:string ->
string ->
'a Topkg.Conf.conv ->
absent:(unit -> 'a Topkg.result) -> 'a Topkg.Conf.key
val with_pkg : ?default:bool -> string -> bool Topkg.Conf.key
type t
val value : Topkg.Conf.t -> 'a Topkg.Conf.key -> 'a
val pkg_name : Topkg.Conf.t -> string
val build_dir : Topkg.Conf.t -> Topkg.fpath
val vcs : Topkg.Conf.t -> bool
val dev_pkg : Topkg.Conf.t -> bool
val pinned : Topkg.Conf.t -> bool
val jobs : Topkg.Conf.t -> int
type build_context = [ `Dev | `Distrib | `Pin ]
val build_context : Topkg.Conf.t -> [ `Dev | `Distrib | `Pin ]
val build_tests : Topkg.Conf.t -> bool
val debug : Topkg.Conf.t -> bool
val debugger_support : Topkg.Conf.t -> bool
val profile : Topkg.Conf.t -> bool
val toolchain : Topkg.Conf.t -> string option
val dump : Stdlib.Format.formatter -> Topkg.Conf.t -> unit
type os = [ `Build_os | `Host_os ]
val tool : ?conf:Topkg.Conf.t -> string -> Topkg.Conf.os -> Topkg.Cmd.t
module OCaml :
sig
type conf = Topkg.Conf.t
type t
val v : Topkg.Conf.OCaml.conf -> Topkg.Conf.os -> Topkg.Conf.OCaml.t
val find : string -> Topkg.Conf.OCaml.t -> string option
val version : Topkg.Conf.OCaml.t -> int * int * int * string option
val ext_asm : Topkg.Conf.OCaml.t -> string
val ext_obj : Topkg.Conf.OCaml.t -> string
val ext_lib : Topkg.Conf.OCaml.t -> string
val ext_dll : Topkg.Conf.OCaml.t -> string
val ext_exe : Topkg.Conf.OCaml.t -> string
val native : Topkg.Conf.OCaml.t -> bool
val native_dynlink : Topkg.Conf.OCaml.t -> bool
val word_size : Topkg.Conf.OCaml.t -> int
val dump : Stdlib.Format.formatter -> Topkg.Conf.OCaml.t -> unit
end
end`