This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
(executable
|
||||
(name foo)
|
||||
(libraries bar))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
module Bar = Bar
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 2.5)
|
||||
|
|
@ -0,0 +1 @@
|
|||
let run () = print_endline "loaded external library successfully"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(library
|
||||
(name bar))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
let () =
|
||||
Bar.run ();
|
||||
exit 0
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Running dune utop in a project with only executables loads external libraries
|
||||
$ dune utop bin -- load_executable_libraries.ml
|
||||
loaded external library successfully
|
||||
Loading…
Add table
Add a link
Reference in a new issue