Skip to content

Commit 6017b48

Browse files
authored
Merge pull request #285 from neonichu/fix-exec
Fatal error in unimplemented cases of `exec`
2 parents 9c8fa82 + 517599f commit 6017b48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/TSCBasic/misc.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ public func exec(path: String, args: [String]) throws -> Never {
163163
throw SystemError.exec(errno, path: path, args: args)
164164
}
165165
fatalError("unreachable")
166+
#else
167+
fatalError("not implemented")
166168
#endif
167169
}
168170

0 commit comments

Comments
 (0)