This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(executable
|
||||
(name foo)
|
||||
(libraries vlib))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(action (run ./foo.exe)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1 @@
|
|||
let () = print_endline "should not run"
|
||||
|
|
@ -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]
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name vlib)
|
||||
(virtual_modules vlib))
|
||||
|
|
@ -0,0 +1 @@
|
|||
val run : unit -> unit
|
||||
Loading…
Add table
Add a link
Reference in a new issue