Express cross-platform-ness of beam files - #189
Conversation
7b4887e to
62bb217
Compare
|
Like there is for rules_docker, there should probably be a flag to disable these transitions ( |
d1a2f0b to
92fa2e4
Compare
Done |
|
It has occurred to me that it's possible we want to also represent the beam version with this transition, to be able to for instance target an otp 26 runtime, but compile with 25. I think this should be possible, if we indicate the otp version in the host or exec platform definition as well. The transition will then have to handle this compatibility, and also the @erlang_config repository will have to define cpu's for each beam version instead of the single |
7910f04 to
1ffb5c5
Compare
Thinking further about this, I'm inclined not to force/resolve the compatibility in the analysis phase of the build. This is partly because I can't think of how to achieve it without projecting out rules for each erlang version an annotating with |
11096ee to
194e91d
Compare
194e91d to
7292bb7
Compare
7292bb7 to
67f2e53
Compare
This allows beam files to cache across architectures
67f2e53 to
27ea5d8
Compare
in
erlang_bytecode2rule