mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Introduce a Swift runtime availability domain.
Add support for the `Swift` availability domain, which represents availability with respect to the Swift runtime. Use of this domain is restricted by the experimental feature `SwiftRuntimeAvailability`.
This commit is contained in:
@@ -188,6 +188,9 @@ namespace swift {
|
||||
/// Swift runtime version to compile for.
|
||||
version::Version RuntimeVersion = version::Version::getCurrentLanguageVersion();
|
||||
|
||||
/// The minimum Swift runtime version that the progam can be deployed to.
|
||||
version::Version MinSwiftRuntimeVersion;
|
||||
|
||||
/// PackageDescription version to compile for.
|
||||
version::Version PackageDescriptionVersion;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user