Skip to content

Commit 7efa417

Browse files
committed
MAINT: add comment
1 parent cd44214 commit 7efa417

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mesonpy/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,9 @@ def __init__(
719719
''')
720720
self._meson_cross_file.write_text(cross_file_data, encoding='utf-8')
721721
self._meson_args['setup'].extend(('--cross-file', os.fspath(self._meson_cross_file)))
722+
723+
# Support iOS targets. iOS does not have native build tools and always
724+
# requires cross compilation: synthesize the appropriate cross file.
722725
elif sysconfig.get_platform().startswith('ios-'):
723726
ios_ver = platform.ios_ver() # type: ignore[attr-defined]
724727

0 commit comments

Comments
 (0)