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
Expose the build triple of a BuildTarget in SourceKitLSPAPI (#7555)
If we have a package like this
```swift
let package = Package(
name: "MyLibrary",
targets: [
.target(name: "Lib"),
.executableTarget(name: "MyExec", dependencies: ["Lib"]),
.plugin(
name: "MyPlugin",
capability: .command(
intent: .sourceCodeFormatting(),
permissions: []
),
dependencies: ["MyExec"]
)
]
)
```
Then the package graph contains two targets for `Lib`. We need to be
able to differentiate them in SourceKit-LSP. For that, we need to expose
the build triple of a `BuildTarget`.
0 commit comments