Skip to content

Disable embedded AVM on older macOS targets#2284

Merged
bettio merged 1 commit intoatomvm:release-0.7from
pguyot:w18/old-macs
Apr 29, 2026
Merged

Disable embedded AVM on older macOS targets#2284
bettio merged 1 commit intoatomvm:release-0.7from
pguyot:w18/old-macs

Conversation

@pguyot
Copy link
Copy Markdown
Collaborator

@pguyot pguyot commented Apr 29, 2026

macOS API we use for embedded AVM was introduced in macOS 10.7. Disable the feature using compile-time SDK check on earlier macOS versions (it's not available on BSD either), so that AtomVM can still compile.

Fixes #2283

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

macOS API we use for embedded AVM was introduced in macOS 10.7. Disable
the feature using compile-time SDK check on earlier macOS versions
(it's not available on BSD either), so that AtomVM can still compile.

Fixes atomvm#2283

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
@bettio bettio merged commit 74f752b into atomvm:release-0.7 Apr 29, 2026
83 of 90 checks passed
@pguyot pguyot deleted the w18/old-macs branch April 29, 2026 19:33
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