ocaml/dune

Controlling flags for ocamldep (e.g. for specifying keywords)

Aperta

#11.419 aperta il 30 gen 2025

 (12 commenti) (0 reazioni) (0 assegnatari)OCaml (478 fork)github user discovery
buildgood first issuehelp wanted

Metriche repository

Star
 (1882 stelle)
Metriche merge PR
 (Merge medio 1g 20h) (345 PR mergiate in 30 g)

Descrizione

There will likely be a need to allow specification of flags to ocamldep, depending on the resolution of ocaml/ocaml#13764. Currently, as per the docs, flags can only be specified for ocamlc and ocamlopt.

Alternatively, there could be a special keywords construct that is applied to all tools that use the ocaml lexer/parser version 5.3.0 or later. However, this might collide with keywords being specified in flags.

Guida contributor