Module Persistent_env.Persistent_signature

type t = {
  1. filename: string,
    /*

    Name of the file containing the signature.

    */
  2. cmi: Cmi_format.cmi_infos,
  3. visibility: Load_path.visibility,
};
let load: Stdlib.ref((allow_hidden:bool => unit_name:string => option(t)));

Function used to load a persistent signature. The default is to look for the .cmi file in the load path. This function can be overridden to load it from memory, for instance to build a self-contained toplevel.