Skip to content

Commit cc9220a

Browse files
committed
Fix build error
1 parent 410950c commit cc9220a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Sources/Build/AsyncBuildOperation.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
@_spi(SwiftPMInternal)
1414
import Basics
1515

16-
@_spi(SwiftPMInternal)
17-
import Build
18-
1916
import LLBuildManifest
2017
import PackageGraph
2118
import PackageLoading

Sources/swift-bootstrap/main.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,10 @@ struct SwiftBootstrapBuildTool: ParsableCommand {
342342
observabilityScope: self.observabilityScope
343343
)
344344
#else
345-
fatalError("SwiftPM was built without XCBuild support")
345+
throw InternalError("SwiftPM was built without XCBuild support")
346346
#endif
347+
case .experimentalAsync:
348+
throw InternalError("Experimental async build system can't be created in this codepath.")
347349
}
348350
}
349351

0 commit comments

Comments
 (0)