Files
swift-nio/Sources
George BarnettandCory Benfield 48119dbbd2 Simplify imports in SocketAddresses.swift (#3696)
Motivation:

The module map for glibc is broken which can lead libc symbols being
attributed to the wrong module. In NIO, SocketAddresses.swift imports
CNIOLinux (and friends) but, as far as I can tell, doesn't use any of
their symbols directly. The result is that various libc symbols
incorrectly get attributed to CNIOLinux and compilation can fail for
downstream packages with member import visibility checks enabled.

See also: https://github.com/swiftlang/swift/issues/85427

Modifications:

- Remove the CNIO* imports from SocketAddresses.swift as they appear to
be unused
- Simplify the imoport block

Result:

Can build grpc with member import visibility checks enabled.

Co-authored-by: Cory Benfield <lukasa@apple.com>
2026-08-13 15:35:49 +00:00
..
2024-09-12 13:18:25 +01:00
2026-07-07 15:46:28 +01:00
2026-07-07 15:46:28 +01:00
2025-10-06 10:58:33 +01:00
2025-05-07 12:24:44 +00:00
2025-05-07 12:24:44 +00:00