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 5e9abc0 commit 4a047b9Copy full SHA for 4a047b9
Sources/SwiftDriver/Utilities/Triple+Platforms.swift
@@ -321,13 +321,10 @@ extension Triple {
321
322
case .linux:
323
switch environment {
324
- case .musl:
+ case .musl where vendor == .swift:
325
// The triple for linux-static is <arch>-swift-linux-musl, to distinguish
326
// it from a "normal" musl set-up (ala Alpine).
327
- if vendor == .swift {
328
- return "linux-static"
329
- }
330
- fallthrough
+ return "linux-static"
331
case .musl, .musleabihf, .musleabi:
332
return "musl"
333
case .android:
0 commit comments