-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
the prebuilt_ocaml_library definition of the OCaml API 'unix' library generated by 'dromedary.py' misses native and bytecode C library data.
what 'domedary.py' generates is
prebuilt_ocaml_library(
name = "unix",
...
native_c_libs = [],
bytecode_c_libs = [],
...
)
and what 'dromedary.py' should generate is
prebuilt_ocaml_library(
name = "unix",
...
native_c_libs = [
"opam/lib/ocaml/libunixnat.a"
],
bytecode_c_libs = [
"opam/lib/ocaml/libunixbyt.a"
],
...
)
this means OCaml binaries that use the Unix module fail to link.
example link failures can be seen on the test-unix-workflow branch of this ocaml-scripts clone by executing test-unix.yml. see these build logs.
the workflow attempts to build the target root//test:test-unix, a program that calls the Unix.getlogin function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working