Skip to content

Commit a087542

Browse files
authored
[6.0] Fix warning in OSSignpost.swift w/ @preconcurrency import (#7786)
Cherry-pick of #7785. **Explanation**: Fixes a Swift Concurrency warning for an import of a preconcurrency module. **Scope**: Isolated to a warning in a single file. **Risk**: Very low, change is NFC. **Testing**: Manually verified that the warning is gone. **Issue**: rdar://131432130 **Reviewer**: @xedin
1 parent 244703f commit a087542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Basics/OSSignpost.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#if canImport(os)
14-
import os
14+
@preconcurrency import os
1515
#endif
1616

1717
#if canImport(os)

0 commit comments

Comments
 (0)