Open jasonjurotich opened 5 months 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'
hello, just wanted to know if this was added yet... I had to clone this weeks ago to add it myself while waiting. Thanks!
hello, just wanted to know if this was added yet... I had to clone this weeks ago to add it myself while waiting. Thanks!
Why not open a Pull request with your patch? @jasonjurotich
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