We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ffe033 commit 5202a7dCopy full SHA for 5202a7d
test/lit.cfg
@@ -567,11 +567,9 @@ def availability_macro_to_current(macro):
567
}.get(run_os)
568
569
orig_vers = vers_by_platform.get(platform_name)
570
- if orig_vers is not None and orig_vers != "9999":
571
- ver = platform.mac_ver()[0]
572
-
573
- if version_gt(orig_vers, ver):
574
- return f"StdlibDeploymentTarget {stdlib_vers}:{platform_name} {ver}"
+ if orig_vers is not None and orig_vers != "9999" \
+ and version_gt(orig_vers, run_vers):
+ return f"StdlibDeploymentTarget {stdlib_vers}:{platform_name} {run_vers}"
575
576
return f"StdlibDeploymentTarget {stdlib_vers}:{orig_spec}"
577
0 commit comments