2025-07-17 12:35:18 -07:00

13 lines
347 B
Python

def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
# Only run if we have an instrumented libcxx. On Darwin, run always (we have
# interceptors to support the system-provided libcxx).
if not root.has_libcxx and root.target_os != "Darwin":
config.unsupported = True