We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 147e15d commit cddfe35Copy full SHA for cddfe35
Sources/UnidocClient/Unidoc.Client.swift
@@ -209,15 +209,8 @@ extension Unidoc.Client<HTTP.Client2>
209
}
210
if let usr:FilePath.Directory = toolchain.usr
211
{
212
- let lib:FilePath.Directory = usr / "lib"
213
-
214
- arguments.append("--swift-runtime")
215
- arguments.append("\(lib)")
216
217
- let swift:FilePath.Directory = usr / "bin" / "swift"
218
219
- arguments.append("--swift")
220
- arguments.append("\(swift)")
+ arguments.append("--swift-toolchain")
+ arguments.append("\(usr)")
221
222
if let sdk:SSGC.AppleSDK = toolchain.sdk
223
0 commit comments