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.
2 parents dbdd7d1 + bd7fedf commit 6b93a47Copy full SHA for 6b93a47
Sources/Build/Triple.swift
@@ -182,6 +182,17 @@ extension Triple {
182
}
183
184
185
+ public var executableExtension: String {
186
+ switch os {
187
+ case .darwin, .macOS:
188
+ return ""
189
+ case .linux:
190
191
+ case .windows:
192
+ return ".exe"
193
+ }
194
195
+
196
/// The file extension for Foundation-style bundle.
197
public var nsbundleExtension: String {
198
switch os {
0 commit comments