Skip to content

Commit ea9e940

Browse files
committed
Fix build issues
1 parent 28645a9 commit ea9e940

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Sources/Commands/SwiftBuildTool.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@
1212

1313
import ArgumentParser
1414
import Basics
15+
16+
@_spi(SwiftPMInternal)
1517
import Build
18+
19+
@_spi(SwiftPMInternal)
1620
import CoreCommands
21+
1722
import PackageGraph
23+
24+
@_spi(SwiftPMInternal)
1825
import SPMBuildCore
1926

2027
#if !DISABLE_XCBUILD_SUPPORT

Sources/CoreCommands/SwiftTool.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ import class Foundation.NSLock
2121
import class Foundation.ProcessInfo
2222
import PackageGraph
2323
import PackageLoading
24+
2425
@_spi(SwiftPMInternal)
2526
import PackageModel
27+
28+
@_spi(SwiftPMInternal)
2629
import SPMBuildCore
30+
2731
import Workspace
2832

2933
#if USE_IMPL_ONLY_IMPORTS
@@ -724,6 +728,7 @@ public final class SwiftTool {
724728
// "customOutputStream" is designed to support build output redirection
725729
// but it is only expected to be used when invoking builds from "swift build" command.
726730
// in all other cases, the build output should go to the default which is stderr
731+
@_spi(SwiftPMInternal)
727732
public func createAsyncBuildSystem(
728733
explicitProduct: String? = .none,
729734
cacheBuildManifest: Bool = true,

0 commit comments

Comments
 (0)