| 1 |
(library |
| 2 |
(name coqrun) |
| 3 |
(synopsis "Rocq's Kernel Abstract Reduction Machine [C implementation]") |
| 4 |
(public_name rocq-runtime.vm) |
| 5 |
(foreign_stubs |
| 6 |
(language c) |
| 7 |
(names rocq_fix_code rocq_float64 rocq_memory rocq_values rocq_interp) |
| 8 |
(flags :standard (:include %{project_root}/config/dune.c_flags)))) |
| 9 |
|
| 10 |
(rule |
| 11 |
(targets rocq_instruct.h) |
| 12 |
(action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe enum)))) |
| 13 |
|
| 14 |
(rule |
| 15 |
(targets rocq_jumptbl.h) |
| 16 |
(action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe jump)))) |
| 17 |
|
| 18 |
(rule |
| 19 |
(targets rocq_arity.h) |
| 20 |
(action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe arity)))) |