This PR fixes some imports so that grpc-swift can be built using the static Linux SDK.
@@ -15,8 +15,12 @@
*/
#if canImport(Darwin)
public import Darwin // should be @usableFromInline
-#else
+#elseif canImport(Glibc)
public import Glibc // should be @usableFromInline
+#elseif canImport(Musl)
+public import Musl // should be @usableFromInline
+#else
+#error("Unsupported OS")
#endif
@usableFromInline
@@ -17,9 +17,11 @@
private import Darwin
#elseif canImport(Glibc)
-private import Glibc
+private import Glibc // should be @usableFromInline
#elseif canImport(Musl)
-private import Musl
+private import Musl // should be @usableFromInline
enum System {