[android] add an android NDK Swift overlay module, and use it instead of Glibc

This commit is contained in:
Alex Lorenz
2024-03-27 13:53:11 -07:00
parent 95493f673d
commit 57b89d5303
29 changed files with 250 additions and 20 deletions

View File

@@ -21,6 +21,8 @@ import Darwin
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(Android)
import Android
#elseif os(WASI)
import WASILibc
#elseif os(Windows)