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:
@@ -298,6 +298,13 @@ def language_mode : Separate<["-"], "language-mode">,
|
||||
MetaVarName<"<mode>">,
|
||||
Alias<swift_version>;
|
||||
|
||||
def min_swift_runtime_version
|
||||
: Separate<["-"], "min-swift-runtime-version">,
|
||||
Flags<[FrontendOption, ModuleInterfaceOptionIgnorable]>,
|
||||
HelpText<"The minimum Swift runtime version "
|
||||
"that will be available at runtime">,
|
||||
MetaVarName<"<vers>">;
|
||||
|
||||
def package_description_version: Separate<["-"], "package-description-version">,
|
||||
Flags<[FrontendOption, HelpHidden, ModuleInterfaceOption]>,
|
||||
HelpText<"The version number to be applied on the input for the PackageDescription availability kind">,
|
||||
|
||||
Reference in New Issue
Block a user