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,3 @@
(alias
(name default)
(deps (alias_rec all)))

View file

@ -0,0 +1,3 @@
(library
(name impl)
(implements lib))

View file

@ -0,0 +1,9 @@
Test that trying to implement libraries that aren't virtual results in an
appropriate error message.
$ dune build
File "impl/dune", line 3, characters 13-16:
3 | (implements lib))
^^^
Error: Library "lib" is not virtual. It cannot be implemented by "impl".
-> required by alias default in dune:1
[1]