| 1 |
(library |
| 2 |
(name toplevel) |
| 3 |
(public_name rocq-runtime.toplevel) |
| 4 |
(synopsis "Rocq's Interactive Shell [terminal-based]") |
| 5 |
(wrapped false) |
| 6 |
; until ocaml/dune#4892 fixed |
| 7 |
; (private_modules g_toplevel) |
| 8 |
(libraries rocq-runtime.stm |
| 9 |
(select memtrace_init.ml from |
| 10 |
(memtrace -> memtrace_init.memtrace.ml) |
| 11 |
(!memtrace -> memtrace_init.default.ml)))) |
| 12 |
|
| 13 |
; Interp provides the `zarith` library to plugins, we could also use |
| 14 |
; -linkall in the plugins file, to be discussed. |
| 15 |
|
| 16 |
(rule |
| 17 |
(targets g_toplevel.ml) |
| 18 |
(deps (:mlg g_toplevel.mlg)) |
| 19 |
(action (chdir %{project_root} (run rocq pp-mlg %{deps})))) |