Module Ocaml_version.Configure_options

Configuration parameters that affect the behaviour of OCaml at compiler-build-time.

type o = [
| `Afl
| `Default_unsafe_string
| `Flambda
| `Force_safe_string
| `Frame_pointer
]

Configuration options available at compiler build time.

val to_string : o -> string

to_string o returns a compact representation of o suitable for use in opam version strings.

val to_description : o -> string

to_description o returns a human-readable representation of o.

val to_configure_flag : o -> string

to_configure_flag o returns a string that can be passed to OCaml's configure script to activate that feature.