Octez_protocol_compiler_compat.Compiler_libs
val override_persistent_signature_loader :
(allow_hidden:bool ->
unit_name:string ->
Persistent_env.Persistent_signature.t option) ->
unit
set_persistent_signature_loader f
calls `Persistent_env.Persistent_signature.load := f`, but handles the necessary wrapping for it to work on different version of OCaml.
val make_persistent_signature :
filename:string ->
cmi:Cmi_format.cmi_infos ->
Persistent_env.Persistent_signature.t
make_persistent_signature ~filename ~cmi
wraps `Persistent_signature.t` to be compatible with multiple version of OCaml.
compunit_name cu
returns the name of the compilation unit