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,7 @@
(executable
(name foo)
(libraries vlib))
(alias
(name default)
(action (run ./foo.exe)))

View file

@ -0,0 +1 @@
let () = print_endline "should not run"

View file

@ -0,0 +1,8 @@
Executable that tries to build against a virtual library without an implementation
$ dune build
Error: No implementation found for virtual library "vlib" in
_build/default/vlib.
-> required by executable foo in dune:2
-> required by _build/default/foo.exe
-> required by alias default in dune:5
[1]

View file

@ -0,0 +1,3 @@
(library
(name vlib)
(virtual_modules vlib))