mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
6 lines
136 B
Plaintext
6 lines
136 B
Plaintext
Name: SwiftWASILibc
|
|
Globals:
|
|
# errno macro is importable but we provide explicit Swift wrapper
|
|
- Name: errno
|
|
SwiftPrivate: true
|