-
Notifications
You must be signed in to change notification settings - Fork 470
Dune should warn about dependencies on unused libraries #650
Copy link
Copy link
Closed
ocaml/opam-repository
#29216Labels
buildIssue related to what dune buildIssue related to what dune buildfeature-requestUser wanted featuresUser wanted features
Description
It's still quite commonplace to end up with (libraries (... bytes ...)) even though using Dune implies OCaml >= 4.02.3.
It would be better if Dune dropped the dependency and issued a warning (especially now that we don't depend on findlib, requiring a dependency on base-bytes in opam-repsository).
EDIT: It would be better if we had such a warning for all libraries in fact. This should be possible via ocamlobjinfo.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buildIssue related to what dune buildIssue related to what dune buildfeature-requestUser wanted featuresUser wanted features