Skip to content

Commit acc27d2

Browse files
committed
Guard planLinuxMain only on Darwin platforms
1 parent 4b763c0 commit acc27d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Build/BuildPlan.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ public class BuildPlan {
12071207
_ buildParameters: BuildParameters,
12081208
_ graph: PackageGraph
12091209
) throws -> [(ResolvedProduct, SwiftTargetBuildDescription)] {
1210-
guard buildParameters.triple.isLinux() else {
1210+
guard !buildParameters.triple.isDarwin() else {
12111211
return []
12121212
}
12131213

0 commit comments

Comments
 (0)