@@ -1636,41 +1636,61 @@ the implicitly inferred availability attributes. If no availability attribute
1636
1636
specifies availability for the current target platform, the availability
1637
1637
attributes are ignored. Supported platforms are:
1638
1638
1639
- ``ios``
1640
- Apple's iOS operating system. The minimum deployment target is specified
1641
- as part of the ``-target *arch*-apple-ios*version*`` command line argument.
1642
- Alternatively, it can be specified by the ``-mtargetos=ios*version*``
1643
- command-line argument.
1639
+ ``iOS``
1640
+ ``macOS``
1641
+ ``tvOS``
1642
+ ``watchOS``
1643
+ ``iOSApplicationExtension``
1644
+ ``macOSApplicationExtension``
1645
+ ``tvOSApplicationExtension``
1646
+ ``watchOSApplicationExtension``
1647
+ ``macCatalyst``
1648
+ ``macCatalystApplicationExtension``
1649
+ ``visionOS``
1650
+ ``visionOSApplicationExtension``
1651
+ ``driverkit``
1652
+ ``swift``
1653
+ ``android``
1654
+ ``fuchsia``
1655
+ ``ohos``
1656
+ ``zos``
1657
+ ``ShaderModel``
1644
1658
1645
- ``macos``
1646
- Apple's macOS operating system. The minimum deployment target is specified
1647
- as part of the ``-target *arch*-apple-macos*version*`` command line argument.
1648
- Alternatively, it can be specified by the ``-mtargetos=macos*version*``
1649
- command-line argument. ``macosx`` is supported for
1650
- backward-compatibility reasons, but it is deprecated.
1659
+ Some platforms have alias names:
1651
1660
1661
+ ``ios``
1662
+ ``macos``
1663
+ ``macosx (deprecated)``
1652
1664
``tvos``
1653
- Apple's tvOS operating system. The minimum deployment target is specified
1654
- as part of the ``-target *arch*-apple-tvos*version*`` command line argument.
1655
- Alternatively, it can be specified by the ``-mtargetos=tvos*version*``
1656
- command-line argument.
1657
-
1658
1665
``watchos``
1659
- Apple's watchOS operating system. The minimum deployment target is specified
1660
- as part of the ``-target *arch*-apple-watchos*version*`` command line argument.
1661
- Alternatively, it can be specified by the ``-mtargetos=watchos*version*``
1662
- command-line argument.
1663
-
1666
+ ``ios_app_extension``
1667
+ ``macos_app_extension``
1668
+ ``macosx_app_extension (deprecated)``
1669
+ ``tvos_app_extension``
1670
+ ``watchos_app_extension``
1671
+ ``maccatalyst``
1672
+ ``maccatalyst_app_extension``
1664
1673
``visionos``
1665
- Apple's visionOS operating system. The minimum deployment target is specified
1666
- as part of the ``-target *arch*-apple-visionos*version*`` command line argument.
1667
- Alternatively, it can be specified by the ``-mtargetos=visionos*version*``
1668
- command-line argument.
1669
-
1670
- ``driverkit``
1671
- Apple's DriverKit userspace kernel extensions. The minimum deployment target
1672
- is specified as part of the ``-target *arch*-apple-driverkit*version*``
1673
- command line argument.
1674
+ ``visionos_app_extension``
1675
+ ``shadermodel``
1676
+
1677
+ Supported environment names:
1678
+
1679
+ ``pixel``
1680
+ ``vertex``
1681
+ ``geometry``
1682
+ ``hull``
1683
+ ``domain``
1684
+ ``compute``
1685
+ ``raygeneration``
1686
+ ``intersection``
1687
+ ``anyhit``
1688
+ ``closesthit``
1689
+ ``miss``
1690
+ ``callable``
1691
+ ``mesh``
1692
+ ``amplification``
1693
+ ``library``
1674
1694
1675
1695
A declaration can typically be used even when deploying back to a platform
1676
1696
version prior to when the declaration was introduced. When this happens, the
0 commit comments