apple / swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence
swift.org
Apache License 2.0
5.23k stars 1.12k forks source link

CoreFoundation modularization fixes #4952

Closed parkera closed 1 month ago

parkera commented 1 month ago

The tests do not yet run on Darwin, but it does pass tests for other platforms.

This patch also updates the contents of the CF Unicode data tables, bringing them up to date.

The majority of this patch is probably unreviewable. However I think the Package.swift and other configuration diffs can be reviewed.

Note: This patch does away with the name "SwiftFoundation" on macOS. It's just "Foundation" everywhere now. That means we need to avoid bringing in the system Foundation when we run executables that use this library, including the tests.

parkera commented 1 month ago

I've retitled this PR to reflect what it became in the end - fixes for CoreFoundation's modularization.