Skip to content

Commit

Permalink
Make deriveTargetSwiftSDK public (swiftlang#7925)
Browse files Browse the repository at this point in the history
Used by swiftlang/sourcekit-lsp#1643

### Motivation:

Allows us to achieve parity between sourcekit-lsp's configuration
options and SwiftPM's `--triple`/`--swift-sdk`.

### Modifications:

Make `SwiftSDK.deriveTargetSwiftSDK` public

### Result:

See swiftlang/sourcekit-lsp#1643
  • Loading branch information
kabiroberai authored Aug 29, 2024
1 parent 630330a commit d31cf05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/PackageModel/SwiftSDKs/SwiftSDK.swift
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,6 @@ public struct SwiftSDK: Equatable {
}

/// Computes the target Swift SDK for the given options.
@_spi(SwiftPMInternal)
public static func deriveTargetSwiftSDK(
hostSwiftSDK: SwiftSDK,
hostTriple: Triple,
Expand Down

0 comments on commit d31cf05

Please sign in to comment.