Commit Graph

13 Commits

Author SHA1 Message Date
Artem Chikin
1f14158a1d Introduce VisionOS Platform
This change introduces a new compilation target platform to the Swift compiler - visionOS.

- Changes to the compiler build infrastrucuture to support building compiler-adjacent artifacts and test suites for the new target.
- Addition of the new platform kind definition.
- Support for the new platform in language constructs such as compile-time availability annotations or runtime OS version queries.
- Utilities to read out Darwin platform SDK info containing platform mapping data.
- Utilities to support re-mapping availability annotations from iOS to visionOS (e.g. 'updateIntroducedPlatformForFallback', 'updateDeprecatedPlatformForFallback', 'updateObsoletedPlatformForFallback').
- Additional tests exercising platform-specific availability handling and availability re-mapping fallback code-path.
- Changes to existing test suite to accomodate the new platform.
2024-04-10 09:38:02 -07:00
Mishal Shah
af112c1591 Update the Swift version to 6.0 from 5.11 2024-02-19 17:47:16 -08:00
Karoy Lorentey
9f66bd0912 [stdlib] Define OS version numbers for SwiftStdlib 5.10 2024-01-31 16:06:49 -08:00
Karoy Lorentey
afd80c33f6 [stdlib] SwiftStdlib 5.11 as a version macro 2023-10-26 14:11:58 -07:00
Doug Gregor
1d88dca7e2 [Availability] Update SwiftStdlib 5.9 availability to macOS 14/iOS 17-era 2023-07-24 15:06:10 -07:00
Konrad `ktoso` Malawski
10b49bcb85 [Executors] Ensure we treat DA older than 5.9 always as DefaultActor (#64800) 2023-04-04 11:04:53 +09:00
Karoy Lorentey
736ff667de [stdlib] Define OS versions for the stdlib in Swift 5.8 2023-02-16 10:29:39 -08:00
Karoy Lorentey
0a041c084d [stdlib] Define and bump to version 5.9 2023-01-15 19:56:18 -08:00
Mishal Shah
475ed80c3e Update the SwiftStdlib 5.7 availability 2022-06-21 15:23:10 -07:00
Karoy Lorentey
95dff4d55b [stdlib] Define version 5.8 of the stdlib 2022-05-18 13:55:32 -07:00
Karoy Lorentey
61268aa259 [stdlib] Define placeholder version numbers for SwiftStdlib 5.7
Also update existing declarations with SwiftStdlib 9999 availability to use the 5.7 name.
2022-01-27 14:41:07 -08:00
Karoy Lorentey
aa3b48f432 [stdlib] Define platform version numbers for SwiftStdlib 5.6 2022-01-27 14:41:07 -08:00
Karoy Lorentey
9b10335e2b [CMake] Move the list of availability definitions out of CMake and into a standalone config file
This restores the ability to (easily) run lit tests outside of a CMake build.
2021-11-03 14:17:39 -07:00