From 922ac2e8d5784e516e50eb13546c64cf009fd1f6 Mon Sep 17 00:00:00 2001 From: Jonathan Grynspan Date: Wed, 29 Nov 2023 14:23:46 -0500 Subject: [PATCH] Remove the old SPI-annotated SwiftPM entry point. This PR removes the `@_spi(SwiftPackageManagerSupport)`-annotated `swiftPMEntryPoint()` function now that SwiftPM has adopted the newer synonym, `__swiftPMEntryPoint()`. Blocked by https://github.com/apple/swift-package-manager/pull/7137. --- Sources/Testing/Running/EntryPoint.swift | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Sources/Testing/Running/EntryPoint.swift b/Sources/Testing/Running/EntryPoint.swift index 5861304f6..f36161f48 100644 --- a/Sources/Testing/Running/EntryPoint.swift +++ b/Sources/Testing/Running/EntryPoint.swift @@ -71,18 +71,6 @@ public func __swiftPMEntryPoint() async -> Never { exit(exitCode) } -/// Call `__swiftPMEntryPoint()`. -/// -/// This function is an old alias of `__swiftPMEntryPoint()`. It will be removed -/// in the near future. -/// -/// - Warning: This function is used by Swift Package Manager. Do not call it -/// directly. -@_spi(SwiftPackageManagerSupport) -public func swiftPMEntryPoint() async -> Never { - await __swiftPMEntryPoint() -} - // MARK: - /// List all of the given tests in the "specifier" format used by Swift Package