Skip to content

Commit 25a67ea

Browse files
committed
extra tweaks
1 parent 0f949fe commit 25a67ea

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// This source file is part of the Swift System open source project
55
//
6-
// Copyright (c) 2020 - 2024 Apple Inc. and the Swift System project authors
6+
// Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors
77
// Licensed under Apache License v2.0 with Runtime Library Exception
88
//
99
// See https://swift.org/LICENSE.txt for license information
@@ -49,7 +49,7 @@ let swiftSettingsAvailability = availabilities.map {
4949
let osVersionList: String
5050
#if SYSTEM_ABI_STABLE
5151
// Use availability matching Darwin API.
52-
availability = availability.osAvailability
52+
osVersionList = availability.osAvailability
5353
#else
5454
if availability.isStandardAvailability {
5555
// Use availability matching SwiftPM minimum.

Sources/System/FileHelpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
This source file is part of the Swift System open source project
33

4-
Copyright (c) 2020 Apple Inc. and the Swift System project authors
4+
Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors
55
Licensed under Apache License v2.0 with Runtime Library Exception
66

77
See https://swift.org/LICENSE.txt for license information

Sources/System/FileOperations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
This source file is part of the Swift System open source project
33

4-
Copyright (c) 2020 - 2025 Apple Inc. and the Swift System project authors
4+
Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors
55
Licensed under Apache License v2.0 with Runtime Library Exception
66

77
See https://swift.org/LICENSE.txt for license information

Tests/SystemTests/SpanFileIOTests.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
//
33
// This source file is part of the Swift System open source project
44
//
5-
// Copyright (c) 2025 Apple Inc. and the Swift System project authors
5+
// Copyright (c) 2025 - 2026 Apple Inc. and the Swift System project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception
77
//
88
// See https://swift.org/LICENSE.txt for license information
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
#if compiler(>=6.2)
13+
1214
import Testing
1315

1416
#if SYSTEM_PACKAGE
@@ -461,3 +463,5 @@ private struct SpanFileIOTests {
461463
}
462464
}
463465
}
466+
467+
#endif // compiler(>=6.2)

0 commit comments

Comments
 (0)