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
SwiftBuild should query SwiftDriver instead of executing swiftc --version for Swift compiler version information when using the integrated driver library #205
SwiftBuild currently executes swiftc --version to get Swift compiler version information early in its execution. However, SwiftDriver can provide this information as well (it has access to it from libSwiftScan's swiftscan_compiler_target_info_query_v2 function). To minimize process spawns, and to avoid needing to use the swiftc binary when it otherwise wouldn't be used, SwiftBuild should query SwiftDriver for this information when the integrated driver library is in use.