Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Install utils/config.cmi so OCaml programs can query their environment #4653
Original bug ID: 4653
toplevellib.cma contains utils/config.cmo which contains useful information for OCaml based installers. If utils/config.cmi is installed as well then it would be possible to access this information.
This allows, for example, extlib's installer to detect the correct extension for native code files (.o or .obj) without having to grep the output of ocamlc -config