diff --git a/Sources/Build/BuildPlan.swift b/Sources/Build/BuildPlan.swift index 8172b3c512d..fe0ec6e4b80 100644 --- a/Sources/Build/BuildPlan.swift +++ b/Sources/Build/BuildPlan.swift @@ -770,10 +770,6 @@ public class BuildPlan: SPMBuildCore.BuildPlan { case.unknown: throw InternalError("unknown binary target '\(target.name)' type") } - case .macro: - if product.type == .macro { - staticTargets.append(target) - } case .plugin: continue }