Skip to content

Commit f565c95

Browse files
committed
NFC: Mark some imports as @_spi(SwiftPMInternal)
1 parent d8bb9ad commit f565c95

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

Sources/Commands/PackageCommands/Init.swift

+3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
import ArgumentParser
1414
import Basics
15+
16+
@_spi(SwiftPMInternal)
1517
import CoreCommands
18+
1619
import Workspace
1720
import SPMBuildCore
1821

Sources/Commands/SwiftBuildCommand.swift

+5
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@
1212

1313
import ArgumentParser
1414
import Basics
15+
1516
import Build
17+
18+
@_spi(SwiftPMInternal)
1619
import CoreCommands
20+
1721
import PackageGraph
22+
1823
import SPMBuildCore
1924
import XCBuildSupport
2025

Sources/Commands/SwiftTestCommand.swift

+6
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
import ArgumentParser
14+
1415
@_spi(SwiftPMInternal)
1516
import Basics
17+
18+
@_spi(SwiftPMInternal)
1619
import CoreCommands
20+
1721
import Dispatch
1822
import Foundation
1923
import PackageGraph
2024

2125
@_spi(SwiftPMInternal)
2226
import PackageModel
27+
2328
import SPMBuildCore
29+
2430
import func TSCLibc.exit
2531
import Workspace
2632

Tests/PackageGraphTests/CrossCompilationPackageGraphTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
@testable
14+
@_spi(SwiftPMInternal)
1415
import SPMTestSupport
1516

1617
@testable

0 commit comments

Comments
 (0)