aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-12-14 17:23:13 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-12-14 17:23:13 +0100
commit1853470c78d1a8aa2525dd57bbfce1064d359ff2 (patch)
treed0af37b803fd6113e9fdc12f37501af3c8eba7ae /library
parent84e570d7c532f16104157b806da714906fdf26b3 (diff)
parent4554a860ffdcb30bf5711bd52f443484f9f950d9 (diff)
Merge PR #6264: [kernel] Patch allowing to disable VM reduction.
Diffstat (limited to 'library')
-rw-r--r--library/library.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/library.ml b/library/library.ml
index 88470d121..868e26684 100644
--- a/library/library.ml
+++ b/library/library.ml
@@ -170,7 +170,7 @@ let register_loaded_library m =
let prefix = Nativecode.mod_uid_of_dirpath libname ^ "." in
let f = prefix ^ "cmo" in
let f = Dynlink.adapt_filename f in
- if not Coq_config.no_native_compiler then
+ if Coq_config.native_compiler then
Nativelib.link_library ~prefix ~dirname ~basename:f
in
let rec aux = function
@@ -738,7 +738,7 @@ let save_library_to ?todo dir f otab =
System.marshal_out_segment f' ch (opaque_table : seg_proofs);
close_out ch;
(* Writing native code files *)
- if !Flags.native_compiler then
+ if !Flags.output_native_objects then
let fn = Filename.dirname f'^"/"^Nativecode.mod_uid_of_dirpath dir in
if not (Nativelib.compile_library dir ast fn) then
user_err Pp.(str "Could not compile the library to native code.")