[erlang][elixir] support arch transitions and constraints#25
Merged
denbeigh2000 merged 7 commits intomainfrom Apr 6, 2026
Merged
[erlang][elixir] support arch transitions and constraints#25denbeigh2000 merged 7 commits intomainfrom
denbeigh2000 merged 7 commits intomainfrom
Conversation
3229057 to
f9fd9a3
Compare
unfortunately means we cannot re-use bytecode between architectures, but i'm personally fine with the safety <> speed/redundancy trade-off until i'm willing to dive back into this quagmire.
f9fd9a3 to
c69d22a
Compare
denbeigh2000
added a commit
that referenced
this pull request
Apr 9, 2026
When we [split bytecode and priv management](86a1136#diff-c5b4474261f9b757de19feb613663baf601ce6c946953fb1860820d13ea1ac7cR252) in #25, we introduced a regression where we stopped copying priv assets in `mix_release`, because artifacts are no longer in one, big, happy tree 🧑🎨 This changeset ensures they are copied to the output release directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This ensures we can build elixir for the appropriate platform, makes
use of the newly-introduced
erlang_versionsetting fromrules_erlang(to prevent OTP version mismatches), and also adds an
elixir_versionsetting,so we can be sure we're not mixing and matching compiled code between
different versions of elixir.