mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #71213 from al45tair/eng/PR-121522431
[Frontend][AST][IRGen] Improve availability support.
This commit is contained in:
@@ -1213,6 +1213,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
// FIXME: Should we diagnose if it's below the default?
|
||||
Opts.MinimumInliningTargetVersion = *vers;
|
||||
|
||||
if (auto vers = parseVersionArg(OPT_min_runtime_version))
|
||||
Opts.RuntimeVersion = version::Version(*vers);
|
||||
|
||||
if (auto vers = parseVersionArg(OPT_target_sdk_version))
|
||||
Opts.SDKVersion = *vers;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user