From 633bf20eda95644d2270bed3e220e7f3301a4805 Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Sat, 29 Feb 2020 14:11:15 -0500 Subject: [dune] [ocamldebug] Improve ocamldebug rules We provide the closure of the dependencies manually. This is still a hack, but not so bad given that the `source`'d files still do contain that duplication too. Dune should provide this functionality so we can replace both this rule and the source files. Actually, that's not hard to implement, `utop` already supports a printer attribute so these are loaded automatically, so the ocamldebug mode could do the same. Should fix #11716 --- dev/doc/build-system.dune.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'dev/doc') diff --git a/dev/doc/build-system.dune.md b/dev/doc/build-system.dune.md index cd35064b18..3e70d6dd16 100644 --- a/dev/doc/build-system.dune.md +++ b/dev/doc/build-system.dune.md @@ -119,10 +119,9 @@ dune exec -- dev/dune-dbg checker foo.vo (ocd) source dune_db ``` -Unfortunately, dependency handling here is not fully refined, so you -need to build enough of Coq once to use this target [it will then -correctly compute the deps and rebuild if you call the script again] -This will be fixed in the future. +Unfortunately, dependency handling is not fully refined / automated, +you may find the occasional hiccup due to libraries being renamed, +etc... Please report any issue. For running in emacs, use `coqdev-ocamldebug` from `coqdev.el`. -- cgit v1.2.3