mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Mostly this just means adding `Musl` as a module dependency of various things and making sure that we build things for `swift_static` even if `SWIFT_BUILD_STATIC_STDLIB` isn't enabled. There's also a slight difference in the declaration of `memcmp()`; musl's declaration is more like the one we have on Darwin. rdar://123508245
The modules in the 'stdlib/private' directory contain APIs that are considered private to the Swift project. Don't use them outside of the repositories related to the Swift project. These APIs are used for building Swift build and test automation tools, represent early prototypes of APIs that are not intended to be included in the standard library soon, modules to support ports to other platforms, and other similar needs that are private to the Swift project and its development process.