-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
With swift 6, one can create Static Linux SDK.
https://www.swift.org/documentation/articles/static-linux-getting-started.html
But, we need to change the direct dependency on GLibc to dependency on both Glibc and Musl.
So, in the different files TOMLArray.swift, TOMLTable.swift, ...:
#if canImport(Darwin)
import Darwin.C
#elseif canImport(Glibc)
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(ucrt)
import ucrt
#else
#error("Unsupported Platform")
#endif
Metadata
Metadata
Assignees
Labels
No labels