mirror of
https://github.com/apple/swift-system
synced 2026-11-27 05:04:27 +00:00
extra tweaks
This commit is contained in:
1 parent
0f949fecf3
commit
25a67eab0c
4 files changed
+9
-5
No files matched your search
+2
-2
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user