Commit Graph

10 Commits

Author SHA1 Message Date
Allan Shortlidge
cdebf2bea8 AST: Update 6.2 runtime OS versions.
Swift 6.2 is aligned with the version 26 of each of Apple's operating systems
and the runtime availability metadata should reflect this.
2025-08-05 13:37:38 -07:00
Karoy Lorentey
d98002318d [stdlib][runtime] Establish Swift Stdlib/runtime version 6.3 2025-05-16 19:01:32 -07:00
Slava Pestov
1f47f8001e Update RuntimeVersions.def for Swift 6.1 2025-04-07 13:03:06 -04:00
John McCall
5a72b785f2 NFC: use visionOS instead of xrOS in the Swift codebase. We can't do
much about the LLVM triple, but we can do our best on the Swift side.
2025-01-22 21:41:14 -05:00
Karoy Lorentey
08c22bcf01 [AST] Define placeholder availability for the 6.2 runtime 2025-01-09 18:18:47 -08:00
Karoy Lorentey
284044132e [AST] Define placeholder availability for the 6.1 runtime 2024-06-13 18:00:45 -07:00
Karoy Lorentey
30f121d3a0 [AST] Define runtime version 6.0 2024-06-13 18:00:45 -07:00
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
Alastair Houghton
b8284baf40 [AST] Update RuntimeVersions.def for 5.10.
This was just updated in #71297.

rdar://121522431
2024-02-02 18:07:06 +00:00
Alastair Houghton
c2c4f87ccb [AST] Improve availability support.
Use `.def` files to generate code for feature availability and runtime
version to OS version mappings.

rdar://121522431
2024-02-02 16:14:26 +00:00