ocaml/dune
Dependency analysis: Unnecessary/undesired compilation unit included in executable
Aberta
#753 aberto em 8 de mai. de 2018
help wantedwontfix
Métricas do repositório
- Stars
- (1.882 estrelas)
- Métricas de merge de PR
- (Mesclagem média 1d 20h) (345 fundiu PRs em 30d)
Description
There seems to be the following problem:
open Hellolib;;
Hello.hello () (* = Hellolib.Hello.hello () *)
results in any local hello.ml to be compiled and linked against our executable, even though we don't use this Hello in this particular program.
Suggested workaround: Rename the local hello.ml, e.g. hello_main.ml.
See https://github.com/mjambon/dune-dependencies for exact reproduction details.