What's Changed
Fix parallel build failures on platforms with Glibc by @simonjbeaumont in #3393
Motivation
Since adding
MemberImportVisibility, when Vapor is compiled in highly parallel environments it fails with high probability:% git rev-parse HEAD ac3aeb7730b63f4f54248603c38137b551b465c7 % rm -rf .build ~/.cache/org.swift.swiftpm/manifests/ && swift build -j 64 ... Building for debugging... /pwd/Sources/Vapor/Utilities/String+IsIPAddress.swift:10:24: error: initializer 'init()' is not available due to missing import of defining module 'CNIOLinux' [#Membe rImportVisibility] 1 | import Foundation 2 | import NIOCore 3 | #if canImport(Android) | `- note: add import of module 'CNIOLinux' 4 | import Android 5 | #endif : 8 | func isIPAddress() -> Bool { 9 | // We need some scratch space to let inet_pton write into. 10 | var ipv4Addr = in_addr() | `- error: initializer 'init()' is not available due to missing import of defining module 'CNIOLinux' [#MemberImportVisibility] 11 | var ipv6Addr = in6_addr() 12 | ---[ similar error for in6_addr t…
This patch was released by @0xTim
Full Changelog: 4.119.1...4.119.2