Skip to content

Commit 365cbfa

Browse files
author
David Ungar
committed
print the delta
1 parent 80c70a4 commit 365cbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/IncrementalCompilation/IncrementalDependencyAndInputSetup.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ extension IncrementalCompilationState.IncrementalDependencyAndInputSetup {
226226
catch let ModuleDependencyGraph.ReadError.timeTravellingPriors(priorsModTime: priorsModTime, buildRecordModTime: buildRecordModTime) {
227227
diagnosticEngine.emit(
228228
warning: "Will not do cross-module incremental builds, priors saved at \(priorsModTime)), " +
229-
"but the previous build started at \(buildRecordModTime), at '\(dependencyGraphPath)'")
229+
"but the previous build started at \(buildRecordModTime) [delta: \(priorsModTime.timeIntervalSince(buildRecordModTime))], at '\(dependencyGraphPath)'")
230230
graphIfPresent = nil
231231
}
232232
catch {

0 commit comments

Comments
 (0)