mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Any substring of `target_triple` is allowed as a feature (when used in REQUIRES/UNSUPPORTED/XFAIL) in `lit.py`. This is what allows eg. `XFAIL: linux` even though `linux` isn't listed as an available feature. `TARGET_TRIPLE` was renamed to `LLVM_TARGET_TRIPLE` upstream, so rename it here as well. Going forward we should remove `target_triple` entirely and use our `OS=...` features instead.