Files
swift-nio/Sources/NIOFoundationCompat
Rick Newton-Rogers 853522d908 use feature-specific guard for @retroactive (#2581)
Motivation:

We should use the more granular guard for uses of @retroactive rather
than coarse swift versions to guard against corner-cases

Modifications:

Switch `#if compiler(>=5.11)` for `#if hasFeature(RetroactiveAttribute)`

Result:

No change in most cases, more protected against corner-cases.
2023-11-01 03:34:16 -07:00
..