Skip to content

Commit 302fa10

Browse files
Add missing return for target when parsed from --target-arch
1 parent f13cb57 commit 302fa10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/GeneratorCLI/GeneratorCLI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ extension GeneratorCLI {
229229
let target = Triple(arch: arch, vendor: nil, os: .linux, environment: .gnu)
230230
appLogger.warning(
231231
"deprecated: Please use `--target \(target.triple)` instead of `--target-arch \(arch)`")
232+
return target
232233
}
233234
return Triple(arch: hostTriple.arch!, vendor: nil, os: .linux, environment: .gnu)
234235
}

0 commit comments

Comments
 (0)