-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef7a551
commit 30d05eb
Showing
7 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(alias | ||
((name foo) | ||
(deps ((alias a) | ||
(alias b))))) | ||
|
||
(alias | ||
((name a) | ||
(deps (src/stubs/x.c)))) | ||
|
||
(alias | ||
((name b) | ||
(deps (src/bar.exe)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
$ jbuilder build @foo | ||
Internal error, please report upstream including the contents of _build/log. | ||
Description: | ||
("Build_system.get_collector called on closed directory" | ||
(dir _build/default/src/stubs)) | ||
Backtrace: | ||
Raised at file "src/stdune/exn.ml", line 32, characters 5-10 | ||
Called from file "src/build_system.ml", line 1503, characters 18-47 | ||
Called from file "src/gen_rules.ml", line 495, characters 4-516 | ||
Called from file "list.ml", line 82, characters 20-23 | ||
Called from file "src/gen_rules.ml", line 643, characters 8-94 | ||
Called from file "src/stdune/exn.ml", line 21, characters 8-11 | ||
Re-raised at file "src/stdune/exn.ml", line 23, characters 30-37 | ||
Called from file "src/gen_rules.ml", line 959, characters 13-72 | ||
Called from file "src/stdune/list.ml", line 13, characters 10-13 | ||
Called from file "src/gen_rules.ml", line 955, characters 4-777 | ||
Called from file "src/gen_rules.ml", line 994, characters 19-30 | ||
Called from file "src/build_system.ml", line 889, characters 6-62 | ||
Called from file "src/build_system.ml", line 865, characters 6-59 | ||
Re-raised at file "src/build_system.ml", line 876, characters 6-17 | ||
Called from file "src/build_system.ml" (inlined), line 833, characters 32-63 | ||
Called from file "src/build_system.ml", line 843, characters 4-24 | ||
Called from file "src/build_interpret.ml", line 101, characters 24-40 | ||
Called from file "src/build_interpret.ml", line 60, characters 31-43 | ||
Called from file "src/build_interpret.ml", line 60, characters 31-43 | ||
Called from file "src/build_system.ml", line 1215, characters 10-108 | ||
Called from file "src/fiber/fiber.ml", line 359, characters 6-13 | ||
[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Foo.test () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(library | ||
((name foo) | ||
(modules (foo)) | ||
(c_names (stubs/x)))) | ||
|
||
(executable | ||
((name bar) | ||
(modules (bar)) | ||
(libraries (foo)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
external test : unit -> unit = "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include <caml/mlvalues.h> | ||
|
||
CAMLprim value test() | ||
{ | ||
return Val_unit; | ||
} |