Skip to content

Commit 018ed86

Browse files
committed
docs
1 parent 1140775 commit 018ed86

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/source/publish.rst

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Any other target is assumed to be a value for the ``CIBW_BUILD``
3535
environment variable (e.g. ``cp3?-macosx_x86_64``). In this case the OS
3636
to run cibuildwheel on is extracted from the target.
3737

38-
Targets that end with ``aarch64``, ``arm64`` and ``universal2`` are also
39-
supported without any additional configuration of cibuildwheel.
38+
Targets which end with non-native architectures such as ``aarch64`` on linux or
39+
``x86_64`` on macos are supported and will be emulated (on linux) or cross
40+
compiled.
4041

4142
**Note:** ``targets`` is a *string* and must be specified as a
4243
literal block scalar using the ``|``. (Without the ``|``, it must also
@@ -57,6 +58,15 @@ To not build any wheels:
5758
5859
targets: ''
5960
61+
For additional configuration extra arguments can be passed by making a target a dictionary.
62+
An example of this is specifying the runner for a target, such as building macos x86_64 wheels on native x86_64 runners:
63+
64+
.. code:: yaml
65+
66+
targets:
67+
- target: cp311-macosx_x86_64
68+
runs-on: macos-13
69+
6070
sdist
6171
^^^^^
6272

0 commit comments

Comments
 (0)