aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-12-18 15:55:23 +0100
committerPierre-Marie Pédrot2019-12-22 14:04:53 +0100
commitacba2419a4cebb2b55bad2aefa2062640ffe8828 (patch)
tree44231e66a98a36360041c9d48123507ca894ca79 /tactics
parent9c75b6a6582620e2fb9a39c1ea1aa46a321af6a7 (diff)
Centralize the flag handling native compilation.
Instead of relying on the Coq_config immutable flag, we introduce an initialization-only flag to govern the use of the native compiler. This allows to make coqc passed with "-native-compiler no" behave as if it had been configured without native compilation.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/redexpr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/redexpr.ml b/tactics/redexpr.ml
index fc7b126ee5..7ed2e67e4c 100644
--- a/tactics/redexpr.ml
+++ b/tactics/redexpr.ml
@@ -37,7 +37,7 @@ let warn_native_compute_disabled =
strbrk "native_compute disabled at configure time; falling back to vm_compute.")
let cbv_native env sigma c =
- if Coq_config.native_compiler then
+ if Flags.get_native_compiler () then
let ctyp = Retyping.get_type_of env sigma c in
Nativenorm.native_norm env sigma c ctyp
else