Files
swift-mirror/stdlib/public/Platform/SwiftWASILibc.apinotes
Yuta Saito be08ebb12a [wasm] Annotate errno as SwiftPrivate by apinotes
This patch adds an apinotes file for SwiftWASILibc clang module to mark
`errno` macro hidden from Swift code. This resolves ambiguity between
the C macro definition and the Swift wrapper in WASILibc overlay module.

This change installs the apinotes file to the resource directories for
both lib/swift/apinotes and lib/swift_static/apinotes.
2024-08-16 10:57:24 +00:00

6 lines
136 B
Plaintext

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