Merge pull request #67 from lorentey/bump-toolchain-to-5.6

Bump minimum required toolchain to Swift 5.6
This commit is contained in:
Karoy Lorentey authored and GitHub committed 2023-03-17 14:37:37 -07:00
commit e6bb2b4402
3 files changed
+3 -55

No files matched your search

+2 -3
View File
@@ -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",
-51
View File
@@ -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"
]
),
]
)
+1 -1
View File
@@ -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(