From b82b61625401d36ce39503f9281cb4fc5b722114 Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Fri, 17 Mar 2023 14:13:29 -0700 Subject: [PATCH 1/2] Bump minimum required toolchain to Swift 5.6. --- Package.swift | 5 ++-- Package@swift-5.5.swift | 51 ----------------------------------------- 2 files changed, 2 insertions(+), 54 deletions(-) delete mode 100644 Package@swift-5.5.swift diff --git a/Package.swift b/Package.swift index 6137139..c86a49f 100644 --- a/Package.swift +++ b/Package.swift @@ -1,9 +1,9 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.6 //===----------------------------------------------------------------------===// // // This source file is part of the Swift.org open source project // -// Copyright (c) 2020-2022 Apple Inc. and the Swift project authors +// Copyright (c) 2020-2023 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information @@ -32,7 +32,6 @@ let package = Package( dependencies: ["_AtomicsShims"], exclude: [ "CMakeLists.txt", - "Atomics.docc", "HighLevelTypes.swift.gyb", "PointerConformances.swift.gyb", "IntegerConformances.swift.gyb", diff --git a/Package@swift-5.5.swift b/Package@swift-5.5.swift deleted file mode 100644 index 3d87369..0000000 --- a/Package@swift-5.5.swift +++ /dev/null @@ -1,51 +0,0 @@ -// swift-tools-version:5.5 -//===----------------------------------------------------------------------===// -// -// This source file is part of the Swift.org open source project -// -// Copyright (c) 2020-2022 Apple Inc. and the Swift project authors -// Licensed under Apache License v2.0 with Runtime Library Exception -// -// See https://swift.org/LICENSE.txt for license information -// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors -// -//===----------------------------------------------------------------------===// - -import PackageDescription - -let package = Package( - name: "swift-atomics", - products: [ - .library( - name: "Atomics", - targets: ["Atomics"]), - ], - targets: [ - .target( - name: "_AtomicsShims", - exclude: [ - "CMakeLists.txt" - ] - ), - .target( - name: "Atomics", - dependencies: ["_AtomicsShims"], - exclude: [ - "CMakeLists.txt", - "HighLevelTypes.swift.gyb", - "PointerConformances.swift.gyb", - "IntegerConformances.swift.gyb", - "AtomicBool.swift.gyb", - "AtomicLazyReference.swift.gyb", - ] - ), - .testTarget( - name: "AtomicsTests", - dependencies: ["Atomics"], - exclude: [ - "main.swift", - "Basics.swift.gyb" - ] - ), - ] -) From 3a39dbae0c8b9544684d544af66ae0d787322c37 Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Fri, 17 Mar 2023 14:19:10 -0700 Subject: [PATCH 2/2] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fe1aa91..0c8bcba 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ The only way to access the counter value is to use one of the methods provided b To use `Atomics` in your own project, you need to set it up as a package dependency: ```swift -// swift-tools-version:5.3 +// swift-tools-version:5.6 import PackageDescription let package = Package(