diff --git a/Package.swift b/Package.swift index 8ee57bd..083a25e 100644 --- a/Package.swift +++ b/Package.swift @@ -3,7 +3,7 @@ // // This source file is part of the Swift System open source project // -// Copyright (c) 2020 - 2024 Apple Inc. and the Swift System project authors +// Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information @@ -49,7 +49,7 @@ let swiftSettingsAvailability = availabilities.map { let osVersionList: String #if SYSTEM_ABI_STABLE // Use availability matching Darwin API. - availability = availability.osAvailability + osVersionList = availability.osAvailability #else if availability.isStandardAvailability { // Use availability matching SwiftPM minimum. diff --git a/Sources/System/FileHelpers.swift b/Sources/System/FileHelpers.swift index ce5c005..fe4a8ed 100644 --- a/Sources/System/FileHelpers.swift +++ b/Sources/System/FileHelpers.swift @@ -1,7 +1,7 @@ /* This source file is part of the Swift System open source project - Copyright (c) 2020 Apple Inc. and the Swift System project authors + Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information diff --git a/Sources/System/FileOperations.swift b/Sources/System/FileOperations.swift index 2c1774b..643e2bb 100644 --- a/Sources/System/FileOperations.swift +++ b/Sources/System/FileOperations.swift @@ -1,7 +1,7 @@ /* This source file is part of the Swift System open source project - Copyright (c) 2020 - 2025 Apple Inc. and the Swift System project authors + Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information diff --git a/Tests/SystemTests/SpanFileIOTests.swift b/Tests/SystemTests/SpanFileIOTests.swift index da1e2a5..9b6e7be 100644 --- a/Tests/SystemTests/SpanFileIOTests.swift +++ b/Tests/SystemTests/SpanFileIOTests.swift @@ -2,13 +2,15 @@ // // This source file is part of the Swift System open source project // -// Copyright (c) 2025 Apple Inc. and the Swift System project authors +// Copyright (c) 2025 - 2026 Apple Inc. and the Swift System project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // //===----------------------------------------------------------------------===// +#if compiler(>=6.2) + import Testing #if SYSTEM_PACKAGE @@ -461,3 +463,5 @@ private struct SpanFileIOTests { } } } + +#endif // compiler(>=6.2)