Skip to content

Commit ea7a708

Browse files
Fix Swift 5.8 compatibility (#158)
We still use 5.8 as a bootstrap compiler on CI, so we need to make sure that the code is compatible with it.
1 parent dfc319f commit ea7a708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftSDKGenerator/Generator/SwiftSDKGenerator+Copy.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ extension SwiftSDKGenerator {
121121
extension Triple {
122122
var interpreterPath: String {
123123
switch self.archName {
124-
case "x86_64": "/lib64/ld-linux-x86-64.so.2"
125-
case "aarch64": "/lib/ld-linux-aarch64.so.1"
124+
case "x86_64": return "/lib64/ld-linux-x86-64.so.2"
125+
case "aarch64": return "/lib/ld-linux-aarch64.so.1"
126126
default: fatalError("unsupported architecture \(self.archName)")
127127
}
128128
}

0 commit comments

Comments
 (0)