diff options
| author | Maxime Dénès | 2020-04-01 11:09:13 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2020-04-01 11:09:13 +0200 |
| commit | 828b79f744ffc1f292a77a80553906544c1c0cfb (patch) | |
| tree | f267db7f0d4895e14548281d59e61cd11379ebf4 /pretyping | |
| parent | eacddd7054ddc04eafc8292ae80be84649b940d1 (diff) | |
| parent | acba2419a4cebb2b55bad2aefa2062640ffe8828 (diff) | |
Merge PR #11306: Centralize the flag handling native compilation.
Ack-by: SkySkimmer
Reviewed-by: maximedenes
Diffstat (limited to 'pretyping')
| -rw-r--r-- | pretyping/nativenorm.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/nativenorm.ml b/pretyping/nativenorm.ml index 7be34d4cf1..f989dae4c9 100644 --- a/pretyping/nativenorm.ml +++ b/pretyping/nativenorm.ml @@ -496,8 +496,8 @@ let stop_profiler m_pid = let native_norm env sigma c ty = let c = EConstr.Unsafe.to_constr c in let ty = EConstr.Unsafe.to_constr ty in - if not Coq_config.native_compiler then - user_err Pp.(str "Native_compute reduction has been disabled at configure time.") + if not (Flags.get_native_compiler ()) then + user_err Pp.(str "Native_compute reduction has been disabled.") else (* Format.eprintf "Numbers of free variables (named): %i\n" (List.length vl1); |
