diff options
| author | Maxime Dénès | 2019-07-04 09:11:41 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2019-07-04 09:11:41 +0200 |
| commit | a661aadbc7120b93ccf8507c0173ffd6cfa3a0f8 (patch) | |
| tree | 17ff6655ac87b3862eaa0857d28c4cc1ba46bc23 /kernel/nativelib.mli | |
| parent | d1965ba584589a528cbb6fe98bbe489137691e02 (diff) | |
| parent | 00fcbf38dcd127e3d2d4f748f215787855abd609 (diff) | |
Merge PR #10359: Remove dependency of native_compile on global env for symbols
Reviewed-by: maximedenes
Reviewed-by: ppedrot
Diffstat (limited to 'kernel/nativelib.mli')
| -rw-r--r-- | kernel/nativelib.mli | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/kernel/nativelib.mli b/kernel/nativelib.mli index 194efecd9a..52d18acca6 100644 --- a/kernel/nativelib.mli +++ b/kernel/nativelib.mli @@ -30,10 +30,23 @@ val compile : string -> global list -> profile:bool -> string but will perform some extra tweaks to handle [code] as a Coq lib. *) val compile_library : Names.DirPath.t -> global list -> string -> unit -val call_linker : - ?fatal:bool -> string -> string -> code_location_updates option -> unit - -val link_library : prefix:string -> dirname:string -> basename:string -> unit +val call_linker + : ?fatal:bool + -> Environ.env + -> prefix:string + -> string + -> code_location_updates option + -> unit + +val link_library + : Environ.env + -> prefix:string + -> dirname:string + -> basename:string + -> unit val rt1 : Nativevalues.t ref val rt2 : Nativevalues.t ref + +val get_library_native_symbols : Names.DirPath.t -> Nativevalues.symbols +(** Strictly for usage by code produced by native compute. *) |
