[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] Disable unavailable features on older macOS
From: |
Peter Maydell |
Subject: |
Re: [PATCH 0/2] Disable unavailable features on older macOS |
Date: |
Mon, 6 Jan 2025 11:18:58 +0000 |
On Mon, 23 Dec 2024 at 04:10, Joelle van Dyne <j@getutm.app> wrote:
> Some features require APIs introduced in a recent version of macOS. Currently,
> this is not checked anywhere and so either the build will fail (if building
> with
> an older version of Xcode) or will throw a warning and then crash if run on an
> older machine. The correct way to handle this is with availabilty checks. The
> checks are a clang extension that only works on Apple platforms but these
> files
> are only built for Apple platforms already and link with Apple frameworks.
We deliberately only support macos 12 or later and don't want
to carry code workarounds to build on earlier versions
(see eg commit 3bf445fbb1 which removes old ifdeffery needed by 11).
This is part of our "supported build platforms" policy
documented in docs/about/build-platforms.rst.
thanks
-- PMM
- Re: [PATCH 0/2] Disable unavailable features on older macOS,
Peter Maydell <=