Files
swift-mirror/stdlib/public/Platform/SwiftEmscriptenLibc.apinotes
Max Desiatov 237ff90ece stdlib/public: Add EmscriptenLibc stdlib overlay (#89797)
Add the `EmscriptenLibc` standard library overlay for `wasm32-unknown-emscripten`, layered on the `emscripten-libc.modulemap` from the build-system branch. This change provides the module surface (`EmscriptenLibc.swift.gyb`, `SwiftEmscriptenLibc.apinotes`), the `os(Emscripten)` `errno` table, Emscripten `argc`/`argv` and `swift_stdlib_random` handling, and the static link arguments. Everything is guarded for the Emscripten target, so host builds are unchanged.
2026-06-15 15:16:57 +01:00

6 lines
142 B
Plaintext

Name: SwiftEmscriptenLibc
Globals:
# errno macro is importable but we provide explicit Swift wrapper
- Name: errno
SwiftPrivate: true