-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiler-libs.native-toplevel fix #4249
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-toplevel
is not a valid module name, I had to changeModule.of_string
toModule.of_string_allow_invalid
, but perhaps there is a better way?