@@ -1604,27 +1604,40 @@ specifies availability for the current target platform, the availability
1604
1604
attributes are ignored. Supported platforms are:
1605
1605
1606
1606
``ios``
1607
- Apple's iOS operating system. The minimum deployment target is specified by
1608
- the ``-mios-version-min=*version*`` or ``-miphoneos-version-min=*version*``
1609
- command-line arguments.
1607
+ Apple's iOS operating system. The minimum deployment target is specified
1608
+ as part of the ``-target *arch*-apple-ios*version*`` command line argument.
1609
+ Alternatively, it can be specified by the ``-mtargetos=ios*version*``
1610
+ command-line argument.
1610
1611
1611
1612
``macos``
1612
- Apple's macOS operating system. The minimum deployment target is
1613
- specified by the ``-mmacosx-version-min=*version*`` command-line argument.
1614
- ``macosx`` is supported for backward-compatibility reasons, but it is
1615
- deprecated.
1613
+ Apple's macOS operating system. The minimum deployment target is specified
1614
+ as part of the ``-target *arch*-apple-macos*version*`` command line argument.
1615
+ Alternatively, it can be specified by the ``-mtargetos=macos*version*``
1616
+ command-line argument. ``macosx`` is supported for
1617
+ backward-compatibility reasons, but it is deprecated.
1616
1618
1617
1619
``tvos``
1618
- Apple's tvOS operating system. The minimum deployment target is specified by
1619
- the ``-mtvos-version-min=*version*`` command-line argument.
1620
+ Apple's tvOS operating system. The minimum deployment target is specified
1621
+ as part of the ``-target *arch*-apple-tvos*version*`` command line argument.
1622
+ Alternatively, it can be specified by the ``-mtargetos=tvos*version*``
1623
+ command-line argument.
1620
1624
1621
1625
``watchos``
1622
- Apple's watchOS operating system. The minimum deployment target is specified by
1623
- the ``-mwatchos-version-min=*version*`` command-line argument.
1626
+ Apple's watchOS operating system. The minimum deployment target is specified
1627
+ as part of the ``-target *arch*-apple-watchos*version*`` command line argument.
1628
+ Alternatively, it can be specified by the ``-mtargetos=watchos*version*``
1629
+ command-line argument.
1630
+
1631
+ ``visionos``
1632
+ Apple's visionOS operating system. The minimum deployment target is specified
1633
+ as part of the ``-target *arch*-apple-visionos*version*`` command line argument.
1634
+ Alternatively, it can be specified by the ``-mtargetos=visionos*version*``
1635
+ command-line argument.
1624
1636
1625
1637
``driverkit``
1626
1638
Apple's DriverKit userspace kernel extensions. The minimum deployment target
1627
- is specified as part of the triple.
1639
+ is specified as part of the ``-target *arch*-apple-driverkit*version*``
1640
+ command line argument.
1628
1641
1629
1642
A declaration can typically be used even when deploying back to a platform
1630
1643
version prior to when the declaration was introduced. When this happens, the
0 commit comments