Skip to content

Fix build with Elixir >= v1.19 #1736

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Jul 2, 2025

BadStructError is not available with Elixir >= v1.19, so do not use it at build time, recent Elixir environments do not have it.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@petermm
Copy link
Contributor

petermm commented Jul 3, 2025

I wonder if it goes in release-0.6, but you know best;-)

@bettio
Copy link
Collaborator Author

bettio commented Jul 3, 2025

I wonder if it goes in release-0.6, but you know best;-)

Good point.

@bettio bettio changed the base branch from main to release-0.6 July 3, 2025 11:16
BadStructError is not available with Elixir >= v1.19, so do not use it
at build time, recent Elixir environments do not have it.

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio force-pushed the fix-build-with-elixir-v1.19 branch from 70591d8 to 9ec401c Compare July 3, 2025 11:18
@bettio
Copy link
Collaborator Author

bettio commented Jul 3, 2025

I wonder if it goes in release-0.6, but you know best;-)

Done.

@bettio bettio merged commit 3691d54 into atomvm:release-0.6 Jul 3, 2025
108 of 110 checks passed
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