aboutsummaryrefslogtreecommitdiff
path: root/kernel/declarations.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-05 14:25:10 +0100
committerPierre-Marie Pédrot2018-11-05 14:25:10 +0100
commitea678521c9eda7acde3a0276e0cec0931dbc6416 (patch)
treecbc2baf5777992a7e81e24a662dfce5db311d6a2 /kernel/declarations.ml
parentafc3e334c02cbbbe395387ff7110a296dce6c9f6 (diff)
parente2e7fea91f3af5dcf62052078da65489b796e9e2 (diff)
Merge PR #8870: Pass native and VM flags to the kernel through environment
Diffstat (limited to 'kernel/declarations.ml')
-rw-r--r--kernel/declarations.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/declarations.ml b/kernel/declarations.ml
index 61fcb4832a..c1b38b4156 100644
--- a/kernel/declarations.ml
+++ b/kernel/declarations.ml
@@ -66,6 +66,8 @@ type typing_flags = {
check_universes : bool; (** If [false] universe constraints are not checked *)
conv_oracle : Conv_oracle.oracle; (** Unfolding strategies for conversion *)
share_reduction : bool; (** Use by-need reduction algorithm *)
+ enable_VM : bool; (** If [false], all VM conversions fall back to interpreted ones *)
+ enable_native_compiler : bool; (** If [false], all native conversions fall back to VM ones *)
}
(* some contraints are in constant_constraints, some other may be in