Skip to content

Commit 16c8eb7

Browse files
authored
Remove unsafe flag (#171)
### Motivation Turns out putting an `#if compiler(>=6.2)` isn't enough to avoid having to have separate Package.swift files. ### Modifications Just drop the unsafe flag. ### Result The library can be depended on again. ### Test Plan N/A
1 parent 4443113 commit 16c8eb7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Package.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,5 @@ for target in package.targets {
6464
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0409-access-level-on-imports.md
6565
settings.append(.enableUpcomingFeature("InternalImportsByDefault"))
6666

67-
#if compiler(>=6.2)
68-
// Ensure all public types are explicitly annotated as Sendable or not Sendable.
69-
settings.append(.unsafeFlags(["-Xfrontend", "-require-explicit-sendable"]))
70-
#endif
71-
7267
target.swiftSettings = settings
7368
}

0 commit comments

Comments
 (0)