Skip to content

Commit d9b22c3

Browse files
authored
Merge pull request #2850 from artemcm/DontParseWhatYouCantRead
[Integrated Swift Driver] Do not create CompilerOutputParsers for swift-frontend jobs
2 parents 13d60ca + da0aa69 commit d9b22c3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/Build/BuildDelegate.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,11 +358,7 @@ public final class BuildDelegate: BuildSystemDelegate, SwiftCompilerOutputParser
358358
let swiftParsers = bctx.buildDescription?.swiftCommands.mapValues { tool in
359359
SwiftCompilerOutputParser(targetName: tool.moduleName, delegate: self)
360360
} ?? [:]
361-
let swiftFrontendParsers = bctx.buildDescription?.swiftFrontendCommands.mapValues { tool in
362-
SwiftCompilerOutputParser(targetName: tool.moduleName, delegate: self)
363-
} ?? [:]
364-
self.swiftParsers = swiftParsers.merging(swiftFrontendParsers) { (_, _) in fatalError("duplicated Swift command")
365-
}
361+
self.swiftParsers = swiftParsers
366362
}
367363

368364
public var fs: SPMLLBuild.FileSystem? {

0 commit comments

Comments
 (0)