Module Nativelib
- val output_dir : string
- val get_load_paths : (unit -> string list) Stdlib.ref
- val load_obj : (string -> unit) Stdlib.ref
- val get_ml_filename : unit -> string * string
- val compile : string -> Nativecode.global list -> profile:bool -> string
- compile file code ~profilewill compile native- codeto- file, and return the name of the object file; this name depends on whether are in byte mode or not; file is expected to be .ml file
- val compile_library : Names.DirPath.t -> Nativecode.global list -> string -> unit
- compile_library lib code fileis similar to- compile file codebut will perform some extra tweaks to handle- codeas a Coq lib.
- val call_linker : ?fatal:bool -> Environ.env -> prefix:string -> string -> Nativecode.code_location_updates option -> unit
- val link_library : Environ.env -> prefix:string -> dirname:string -> basename:string -> unit
- val rt1 : Nativevalues.t Stdlib.ref
- val rt2 : Nativevalues.t Stdlib.ref
- val get_library_native_symbols : Names.DirPath.t -> Nativevalues.symbols
- Strictly for usage by code produced by native compute.