# Minimal link-time stub for macOS CoreFoundation.framework -- calog cross build (tools/crossMacFull.sh). # # zig 0.16's Mach-O linker segfaults parsing the real SDK CoreFoundation.tbd (1000+ symbols across # maccatalyst/arm64e/x86_64h targets plus reexports). calog links against this hand-written stub # instead: it exports ONLY the CoreFoundation symbols httpLoadMacRoots uses (see libs/calogHttp.c), # so the resulting binary imports the real system framework by install-name at runtime on macOS. # Headers still come from the real SDK at compile time; this file is link-time only. ASCII only. --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos ] install-name: '/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' exports: - targets: [ x86_64-macos, arm64-macos ] symbols: [ _CFRelease, _CFArrayGetCount, _CFArrayGetValueAtIndex, _CFDataGetBytePtr, _CFDataGetLength ] ...