Open jasonjurotich opened 6 days ago
It seems there are only three places where we import Glibc
, and only two of them need changes?
yes, but principally here: postgres-nio/Sources/ConnectionPoolModule/PoolStateMachine.swift:4:8: error: no such module 'Glibc'
Apple is saying here that they are going to use Musl for cross compiling... can you add it please? Thanks https://www.swift.org/documentation/articles/static-linux-getting-started.html
if os(macOS) || os(iOS)
import Darwin
elseif canImport(Glibc)
import Glibc
elseif canImport(Musl)
import Musl
elseif os(Windows)
import ucrt
else
error(Unknown platform)
endif