It would be nice to allow this:
ocaml_native_binary(
name = "ocaml",
srcs = "hello.ml",
)
In other words, when there's only one source file, it should be used as the root one.
Suggestion: Maybe rename src_root to main? I think it's a more common name.
It would be nice to allow this:
In other words, when there's only one source file, it should be used as the root one.
Suggestion: Maybe rename
src_roottomain? I think it's a more common name.