Skip to content

Commit b6a158e

Browse files
committed
[stdlib] Add LegacyABI.swift for legacy non-API declarations
1 parent 751cf26 commit b6a158e

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ set(SWIFTLIB_ESSENTIAL
8383
KeyValuePairs.swift
8484
LazyCollection.swift
8585
LazySequence.swift
86+
LegacyABI.swift
8687
LifetimeManager.swift
8788
ManagedBuffer.swift
8889
Map.swift

stdlib/public/core/GroupInfo.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@
223223
"Equatable.swift",
224224
"Comparable.swift",
225225
"Codable.swift",
226+
"LegacyABI.swift",
226227
"MigrationSupport.swift"
227228
],
228229
"Result": [

stdlib/public/core/LegacyABI.swift

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
13+
// This file contains non-API (or underscored) declarations that are needed to
14+
// be kept around for ABI compatibility
15+

0 commit comments

Comments
 (0)