This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,9 @@
(library
(name privatelib)
(modules privatelib))
(library
(name publiclib)
(public_name publiclib)
(libraries privatelib)
(modules publiclib))

View file

@ -0,0 +1,9 @@
public libraries may not have private dependencies
$ dune build
File "dune", line 8, characters 12-22:
8 | (libraries privatelib)
^^^^^^^^^^
Error: Library "privatelib" is private, it cannot be a dependency of a public
library. You need to give "privatelib" a public name.
[1]