aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/library.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/library.ml')
-rw-r--r--library/library.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/library.ml b/library/library.ml
index 97c416556..4fea6b836 100644
--- a/library/library.ml
+++ b/library/library.ml
@@ -724,7 +724,7 @@ let save_library_to ?todo dir f otab =
(* Writing native code files *)
if not !Flags.no_native_compiler then
let fn = Filename.dirname f'^"/"^Nativecode.mod_uid_of_dirpath dir in
- if not (Int.equal (Nativelib.compile_library dir ast fn) 0) then
+ if not (Nativelib.compile_library dir ast fn) then
msg_error (str"Could not compile the library to native code. Skipping.")
with reraise ->
let reraise = Errors.push reraise in