Commit Graph

28 Commits

Author SHA1 Message Date
Slava Pestov
6b2fd18a2e Update utils/availability-macros.def 2025-07-25 12:14:15 -04:00
Doug Gregor
412b2f2741 Fix deployment version for Span back-deployment library
Part of rdar://155252653.
2025-07-07 22:22:00 -07:00
Alastair Houghton
42ca1b1cc8 Rename SwiftStdlibCurrentOS to StdlibDeploymentTarget.
`StdlibDeploymentTarget` seems to be a better name.

rdar://152498657
2025-06-04 10:40:19 +01:00
Alastair Houghton
d5ed335339 Merge pull request #81440 from al45tair/currentos-availability
[Concurrency][Stdlib] Add SwiftStdlibCurrentOS availability, use it.
2025-06-03 15:01:22 +01:00
Karoy Lorentey
d98002318d [stdlib][runtime] Establish Swift Stdlib/runtime version 6.3 2025-05-16 19:01:32 -07:00
Alastair Houghton
28f96e64ab [Concurrency][Stdlib] Add SwiftStdlibCurrentOS availability, use it.
If you use SwiftStdlibCurrentOS availability, you will be able to
use new types and functions from within the implementation. This
works by, when appropriate, building with the CurrentOS availability
set to the current deployment target.

rdar://150944675
2025-05-12 12:07:24 +01:00
Slava Pestov
17868a7b50 CompatibilitySpan: Fix stdlib build on visionOS
Swift CI tests visionOS, but PR testing does not. Oops.
2025-04-09 12:37:45 -04:00
Slava Pestov
8c11d78672 Merge pull request #80510 from slavapestov/mutable-span-compat
CompatibilitySpan: Add MutableRawSpan.swift, MutableSpan.swift
2025-04-08 15:03:59 -04:00
Slava Pestov
89aabcb688 Add temporary 'SwiftCompatibilitySpan 6.2' availability macro 2025-04-07 21:32:48 -04:00
Slava Pestov
f7e89054f8 Update 'SwiftStdlib 6.1' availability macro 2025-04-07 12:06:42 -04:00
Evan Wilde
8130b4f576 Leave reminder to update RuntimeVersions
Leave a reminder to update the runtime versions macro file after
updating availability-macros.def.
2025-01-10 21:39:38 -08:00
Karoy Lorentey
f8872c43a7 [stdlib] Define placeholder availability for SwiftStdlib 6.2 2025-01-09 18:18:20 -08:00
Allan Shortlidge
a3075da13c Gardening: Remove out-of-date comments from availability-macros.def. 2024-11-20 10:08:45 -08:00
Karoy Lorentey
d5b79be215 [stdlib] Define placeholder availability for SwiftStdlib 6.1 2024-06-13 18:00:45 -07:00
Karoy Lorentey
d4564e4328 [stdlib] Define availability for SwiftStdlib 6.0 2024-06-13 16:35:42 -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
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