Skip to content

Conversation

@pguyot
Copy link
Collaborator

@pguyot pguyot commented Jan 25, 2025

OTP 25 compiler generates bs_match_string, and AtomVM wouldn't support some unaligned matching that worked when compiled by OTP 26+.

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

@pguyot pguyot force-pushed the w04/add-support-for-bs_match_string-unaligned branch 3 times, most recently from 98cb365 to 69a0136 Compare January 25, 2025 18:06
@pguyot pguyot changed the base branch from release-0.6 to main January 25, 2025 18:07
OTP 25 compiler generates bs_match_string, and AtomVM wouldn't support
some unaligned matching that worked when compiled by OTP 26+.

Also bump s390x CI to use bookworm as cc from bullseye crashes on our code.

Signed-off-by: Paul Guyot <[email protected]>
@pguyot pguyot force-pushed the w04/add-support-for-bs_match_string-unaligned branch from 69a0136 to dffbd53 Compare January 25, 2025 20:05
@bettio bettio merged commit 087d892 into atomvm:main Jan 25, 2025
108 checks passed
@pguyot pguyot deleted the w04/add-support-for-bs_match_string-unaligned branch January 25, 2025 21:31
bettio added a commit that referenced this pull request Feb 11, 2025
Backport unaligned matching of strings (OTP < 26)

Just a backport of #1492

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
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