mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
[ArrayModule] Disable new arrays on Windows under Swift 6.2 for now
Our current 6.2 development snapshots are wildly out of date and do not have OutputSpan yet.
This commit is contained in:
7 files changed
+21
-16
No files matched your search
@@ -9,14 +9,14 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import InternalCollectionsUtilities
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
import ContainersPreview
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.2) && (compiler(>=6.3) || !os(Windows)) // FIXME: [2025-08-17] Windows has no 6.2 snapshot with OutputSpan
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
#if FIXME
|
||||
extension DynamicArray /*where Element: Copyable*/ {
|
||||
@@ -362,3 +362,4 @@ extension DynamicArray {
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -13,7 +13,8 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(<6.2)
|
||||
#if compiler(<6.2) || (compiler(<6.3) && os(Windows)) // FIXME: [2025-08-17] Windows has no 6.2 snapshot with OutputSpan
|
||||
|
||||
/// A dynamically self-resizing, heap allocated, noncopyable array
|
||||
/// of potentially noncopyable elements.
|
||||
@frozen
|
||||
|
||||
@@ -11,12 +11,11 @@
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import InternalCollectionsUtilities
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
import ContainersPreview
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if compiler(>=6.2) && COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
#if compiler(>=6.2) && (compiler(>=6.3) || !os(Windows)) // FIXME: [2025-08-17] Windows has no 6.2 snapshot with OutputSpan
|
||||
#if COLLECTIONS_UNSTABLE_CONTAINERS_PREVIEW
|
||||
|
||||
extension RigidArray /*where Element: Copyable*/ {
|
||||
#if FIXME
|
||||
@@ -168,7 +167,7 @@ extension RigidArray where Element: ~Copyable {
|
||||
count = 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
@_alwaysEmitIntoClient
|
||||
public mutating func append(
|
||||
@@ -249,7 +248,7 @@ extension RigidArray where Element: ~Copyable {
|
||||
count = 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
@_alwaysEmitIntoClient
|
||||
public mutating func insert(
|
||||
@@ -453,3 +452,4 @@ extension RigidArray {
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -13,8 +13,8 @@
|
||||
import InternalCollectionsUtilities
|
||||
#endif
|
||||
|
||||
#if compiler(<6.2) || (compiler(<6.3) && os(Windows)) // FIXME: [2025-08-17] Windows has no 6.2 snapshot with OutputSpan
|
||||
|
||||
#if compiler(<6.2)
|
||||
/// A fixed capacity, heap allocated, noncopyable array of potentially
|
||||
/// noncopyable elements.
|
||||
@frozen
|
||||
|
||||
Reference in new issue
Block a user