Skip to content

Commit 4e90871

Browse files
committed
[shims] Remove the _SwiftDispatchOverlayShims module
This module used to be a private implementation detail of the Distpatch overlay on Apple platforms, and swift-corelibs-libdispatch elsewhere. Darwin hasn't been using this module for a couple years now, and swift-corelibs-dispatch stopped using it with swiftlang/swift-corelibs-libdispatch#592. We are now free to remove it from the Swift toolchain -- which is good, as it contains declarations that are specific to Dispatch, and the compiler/stdlib is not the right place to maintain them.
1 parent 469f72f commit 4e90871

File tree

3 files changed

+0
-274
lines changed

3 files changed

+0
-274
lines changed

stdlib/public/SwiftShims/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ set(sources
2424
_SwiftConcurrency.h
2525
_SwiftDistributed.h
2626

27-
DispatchOverlayShims.h
28-
2927
module.modulemap
3028
)
3129
set(output_dir "${SWIFTLIB_DIR}/shims")

stdlib/public/SwiftShims/DispatchOverlayShims.h

Lines changed: 0 additions & 260 deletions
This file was deleted.

stdlib/public/SwiftShims/module.modulemap

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,3 @@ module SwiftOverlayShims {
3030
header "LibcOverlayShims.h"
3131
export *
3232
}
33-
34-
35-
// Obsolete overlay shims on Apple platforms.
36-
// Note: These deliberately do not use "export *" to avoid circularity issues
37-
// (overlay -> shims -> framework -> overlay)
38-
39-
// NOTE: These are obsolete and should never be imported into any project.
40-
// They are going to be removed in a future compiler release.
41-
42-
module _SwiftDispatchOverlayShims {
43-
header "DispatchOverlayShims.h"
44-
}

0 commit comments

Comments
 (0)