Conversation
Signed-off-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
Signed-off-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
|
This value seems to be generated in BTW, I'm confused as to what this code in |
It's to support
I suppose we could just hard code it to the empty list for some libs. |
|
What I'm thinking is the following: when findlib is installed, we don't use our builtin META files. Instead we use the ones installed by findlib and these don't have a |
|
We hit this issue while testing at Jane Street as well. I added a I'm still curious as to why our builtin meta files are not the same as the one embed in findlib. This feels like a recipe for troubles. |
Thanks! |
- compiler-libs.{toplevel => native-toplevel}
- make sure to generate main_modules field with valid module names for builtin meta files
Signed-off-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
…ne-action-plugin, dune-private-libs and dune-glob (2.8.4) CHANGES: - Fix crash when META file for `compiler-libs.toplevel` is present (@jeremiedimino, ocaml/dune#4249)
Fixes #4248
Since
Native-toplevelis not a valid module name, I had to changeModule.of_stringtoModule.of_string_allow_invalid, but perhaps there is a better way?