package ocaml-version
Module Ocaml_version.HasSource
Test whether a release has a given feature.
bytes t will return true if that release has a bytes type. Note that opam provides a bytes compatibility package for older releases.
arch a t will return true if architecture a is supported on release t.
options_packages t will return true if the release t uses ocaml-option-* packages in opam-repository, rather than +variant packages
multicore t will return true if the release t has a multicore OCaml fork available for it. This requires the https://github.com/ocaml-multicore/multicore-opam opam switch to be added before the package is available.
Note that the multicore variants changed between 4.10 and 4.12, and this function returns true for any of them.