| 1 |
(library |
| 2 |
(name kernel) |
| 3 |
(synopsis "The Rocq Kernel") |
| 4 |
(public_name rocq-runtime.kernel) |
| 5 |
(wrapped false) |
| 6 |
(modules_without_implementation values declarations entries) |
| 7 |
(modules (:standard \ genOpcodeFiles uint63_31 uint63_63 float64_31 float64_63)) |
| 8 |
(libraries boot lib coqrun dynlink)) |
| 9 |
|
| •10 |
; used by dune coq mode |
| 11 |
(deprecated_library_name |
| 12 |
(old_public_name coq-core.kernel) |
| 13 |
(new_public_name rocq-runtime.kernel)) |
| 14 |
|
| 15 |
(executable |
| 16 |
(name genOpcodeFiles) |
| 17 |
(modules genOpcodeFiles)) |
| 18 |
|
| 19 |
(rule |
| 20 |
(targets vmopcodes.ml) |
| 21 |
(action (with-stdout-to %{targets} (run ./genOpcodeFiles.exe copml)))) |
| 22 |
|
| 23 |
(rule |
| 24 |
(targets vmopcodes.mli) |
| 25 |
(action (with-stdout-to %{targets} (run ./genOpcodeFiles.exe copmli)))) |
| 26 |
|
| 27 |
(rule |
| 28 |
(targets uint63.ml) |
| 29 |
(deps (:gen-file uint63_%{ocaml-config:int_size}.ml)) |
| 30 |
(action (copy# %{gen-file} %{targets}))) |
| 31 |
|
| 32 |
(rule |
| 33 |
(targets float64.ml) |
| 34 |
(deps (:gen-file float64_%{ocaml-config:int_size}.ml)) |
| 35 |
(action (copy# %{gen-file} %{targets}))) |
| 36 |
|
| 37 |
(documentation |
| 38 |
(package rocq-runtime)) |
| 39 |
|
| 40 |
; In dev profile, we check the kernel against a more strict set of |
| 41 |
; warnings. |
| 42 |
(env |
| 43 |
(dev (flags :standard -w @a-4-40-42-44-50))) |