MCPcopy Index your code
hub / github.com/RustPython/RustPython / _supports_arm64_builds

Function _supports_arm64_builds

Lib/_osx_support.py:188–195  ·  view source on GitHub ↗

Returns True if arm64 builds are supported on this system

()

Source from the content-addressed store, hash-verified

186 return bool(osx_version >= (10, 4)) if osx_version else False
187
188def _supports_arm64_builds():
189 """Returns True if arm64 builds are supported on this system"""
190 # There are two sets of systems supporting macOS/arm64 builds:
191 # 1. macOS 11 and later, unconditionally
192 # 2. macOS 10.15 with Xcode 12.2 or later
193 # For now the second category is ignored.
194 osx_version = _get_system_version_tuple()
195 return osx_version >= (11, 0) if osx_version else False
196
197
198def _find_appropriate_compiler(_config_vars):

Callers 1

compiler_fixupFunction · 0.85

Calls 1

Tested by

no test coverage detected