I’m have successfully moved a big project that I work with to Dune. The only thing I haven’t figure out how to do is how to pass the “-custom” flag when linking bytecode.
I have an executable, and I want to be able of producing both: native and bytecode (for debugging purposes).
I tried adding “(link_flags -custom)” which works, but the native fails to link since it does not accept the “-custom” flag.
Is there any way of passing linking flags to the bytecode build only?