Avoid running bytecode files during the ocamlbuild build process#370
Avoid running bytecode files during the ocamlbuild build process#370kit-ty-kate wants to merge 1 commit intoocaml:masterfrom
Conversation
|
No strong opinion here. The resulting build is slightly more complex and I'm not sure there are clear benefits, but if you feel that this is better I'm happy to trust you and go for it. My guess would be that the user you are working with is hitting a Windows-specific issues related to dynamic linking of OCaml libraries -- If the user problem is really that dynamic linking does not work (or maybe just dynamic linking of bytecode libraries, no native libraries), I don't think that the change you propose will solve their problem. For example, they would probably get the same issue when they try to use the toplevel seriously -- which is more common these days than |
This change doesn't do much, this isn't exactly a speedup nor should it change something functionally, but i found it weird that the ocamlbuild build process was running bytecode programs while i was debugging an issue on Windows that a Discord user got stuck by:
I believe this PR should fix this particular problem, although i suspect it might fail later in another package. I'm not exactly sure what the reason behind this failure is, but if someone has an idea…