Bytecode-only build of containers fails when building src/core/cpp/cpp.exe.
ChrisVine opened this issue · 1 comments
ChrisVine commented
A bytecode-only build of containers fails because there is no dune rule for making a bytecode version of src/core/cpp/cpp.exe. I discovered this when playing around with ocaml-5.0.0~rc1 on a 32-bit x86 machine, which is now bytecode-only in ocaml-5, as containers has become a dependency of the latest version of domainslib.
The build succeeds if I change the modes stanza (modes native)
to (modes (best exe))
in src/core/cpp/dune. Note that I have not tested this change against a standard native compilation, but it should work.
ChrisVine commented
This change has been committed today so I am closing the issue