Skip to content

Commit 0b3b5d6

Browse files
author
David Ungar
committed
Don't read swiftdeps of a signalled job.
1 parent cd5a78f commit 0b3b5d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SwiftDriverExecution/MultiJobExecutor.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,9 @@ class ExecuteJobRule: LLBuildRule {
533533
#endif
534534
}
535535
}
536-
context.addRuleBeyondMandatoryCompiles(finishedJob: job, result: result)
536+
if case .terminated = result.exitStatus {
537+
context.addRuleBeyondMandatoryCompiles(finishedJob: job, result: result)
538+
}
537539

538540
// Inform the delegate about job finishing.
539541
context.delegateQueue.async {

0 commit comments

Comments
 (0)