I was wondering how that would work when consuming a compiled/binary library (either statically or dynamically): BMI files are the compilation artefact representing module's interfaces. They're used by the compiler when importing modules. Would they need to be included as side-carts when distributing a library in binary/compiled form? If so, how would that work across compiler versions, given how there's no binary-compatability guarantee for that?
I was wondering how that would work when consuming a compiled/binary library (either statically or dynamically):
BMI files are the compilation artefact representing module's interfaces.
They're used by the compiler when importing modules.
Would they need to be included as side-carts when distributing a library in binary/compiled form?
If so, how would that work across compiler versions, given how there's no binary-compatability guarantee for that?