mirror of
https://github.com/apple/swift-atomics
synced 2026-11-28 04:54:21 +00:00
Merge pull request #67 from lorentey/bump-toolchain-to-5.6
Bump minimum required toolchain to Swift 5.6
This commit is contained in:
3 files changed
+3
-55
No files matched your search
+2
-3
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user