Skip to content

SwiftBuild should query SwiftDriver instead of executing swiftc --version for Swift compiler version information when using the integrated driver library #205

@cwakamo

Description

@cwakamo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions