You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reworked build service plug-in initialization slightly.
Assume plug-ins are relative to the SWBBuildService framework instead of the SWBBuildService bundle.
In support of this, removed the `pluginsDirectory` parameter from the build service entry point.
Also reworked the responsibility for plug-in registration in tests so it's part of CoreTestSupport.swift directly.
This is for <rdar://problem/172848427>.
/// Common entry point to the build service for in-process and out-of-process connections.
95
95
///
96
96
/// Called directly from the exported C entry point `swiftbuildServiceEntryPoint` for in-process connections, or from `BuildService.main()` (after some basic file descriptor setup) for out-of-process connections.
Copy file name to clipboardExpand all lines: Sources/SWBCore/Core.swift
+1-64Lines changed: 1 addition & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ public final class Core: Sendable {
40
40
/// Get a configured instance of the core.
41
41
///
42
42
/// - returns: An initialized Core instance on which all discovery and loading will have been completed. If there are errors during that process, they will be logged to `stderr` and no instance will be returned. Otherwise, the initialized object is returned.
// If we weren't passed a delgate, the caller couldn't possibly have emitted the diagnostics themselves (and CoreInitializationError deliberately doesn't include them in its error output).
176
194
if inputDelegate ==nil{
177
195
// Emit one failure per error, which will be significantly easier to read.
0 commit comments