From 5a39fc4e6c8d03b671269a947bbe51977df5f4a9 Mon Sep 17 00:00:00 2001 From: Jeremy Schonfeld Date: Thu, 21 Nov 2024 19:09:08 -0800 Subject: [PATCH] Add FoundationPreview 6.2 as an allowed availability annotation (#1057) --- CMakeLists.txt | 1 + Package.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73c3e8805..dc93064b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,7 @@ list(APPEND _SwiftFoundation_versions "0.3" "0.4" "6.0.2" + "6.2" ) # Each availability name to define diff --git a/Package.swift b/Package.swift index 9a6fcbd5f..768e52282 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let availabilityTags: [_Availability] = [ _Availability("FoundationPredicate", availability: .macOS14_0), // Predicate relies on pack parameter runtime support _Availability("FoundationPredicateRegex", availability: .macOS15_0) // Predicate regexes rely on new stdlib APIs ] -let versionNumbers = ["0.1", "0.2", "0.3", "0.4", "6.0.2"] +let versionNumbers = ["0.1", "0.2", "0.3", "0.4", "6.0.2", "6.2"] // Availability Macro Utilities