Skip to content

Support Elixir ~> 1.12#478

Open
ericmj wants to merge 4 commits intomainfrom
ericmj/support-elixir-1.12
Open

Support Elixir ~> 1.12#478
ericmj wants to merge 4 commits intomainfrom
ericmj/support-elixir-1.12

Conversation

@ericmj
Copy link
Copy Markdown
Member

@ericmj ericmj commented Apr 11, 2026

Replace pinned variables in binary pattern sizes (^var) with erlang.split_binary/2 to support both Elixir 1.12+ and 1.20+ without warnings.

Need this to vendor Mint into Hex.

ericmj added 3 commits April 11, 2026 12:22
Replace pinned variables in binary pattern sizes (^var) with
:erlang.split_binary/2 to support both Elixir 1.12+ and 1.20+
without warnings.
@coveralls
Copy link
Copy Markdown

coveralls commented Apr 11, 2026

Coverage Report for CI Build 0

Coverage increased (+0.01%) to 87.782%

Details

  • Coverage increased (+0.01%) from the base build.
  • Patch coverage: 9 of 9 lines across 4 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1465
Covered Lines: 1286
Line Coverage: 87.78%
Coverage Strength: 255.54 hits per line

💛 - Coveralls

@ericmj ericmj requested a review from whatyouhide April 11, 2026 10:32
@ericmj ericmj marked this pull request as ready for review April 11, 2026 17:20
persistent_term has been available since OTP 21.2 and Mint requires
Elixir ~> 1.12 which needs OTP 22+, so it is always available. Remove
the runtime check, the application env, and the empty supervisor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants