Skip to content

Commit 2aa1edf

Browse files
authored
Merge pull request #499 from artemcm/RemarkableINTerrupts
Emit a remark on interrupt of the driver
2 parents 989f7b4 + 314e2e7 commit 2aa1edf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/swift-driver/main.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ do {
2626
// The underlying swift compiler isn't ready to be safely interrupted yet and
2727
// interrupting them may cause red-herring build failures that may pollute the build
2828
// log.
29+
diagnosticsEngine.emit(.remark("Compilation process interrupted"))
2930
}
3031

3132
if ProcessEnv.vars["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {

0 commit comments

Comments
 (0)