aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/nativelib.mli
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2014-12-16 00:06:13 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2014-12-16 00:06:13 +0100
commit8bda62e798c4e89c8c3f9406327899e394f7be0f (patch)
treeac7df2ec0c3f7b2740363428f77dadc64b774af1 /kernel/nativelib.mli
parent0e730e4fa316cbfbd2d6dc60276498f57f500e0e (diff)
Fix for #3154: use CUnix.sys_command to call native compiler.
Patch by CJ on bugzilla. CUnix.sys_command doesn't rely on a shell, so extra care with cmd.exe vs sh is no longer required.
Diffstat (limited to 'kernel/nativelib.mli')
-rw-r--r--kernel/nativelib.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/nativelib.mli b/kernel/nativelib.mli
index a2633ac2c..1c60221f0 100644
--- a/kernel/nativelib.mli
+++ b/kernel/nativelib.mli
@@ -16,9 +16,9 @@ val load_obj : (string -> unit) ref
val get_ml_filename : unit -> string * string
-val compile : string -> global list -> int * string
+val compile : string -> global list -> bool * string
-val compile_library : Names.dir_path -> global list -> string -> int
+val compile_library : Names.dir_path -> global list -> string -> bool
val call_linker :
?fatal:bool -> string -> string -> code_location_updates option -> unit