mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is for the 'freestanding' build to stop assuming the platform has argc/argv. - Introduce a new sub-library, libswiftCommandLineSupport.a - Move stubs/CommandLine.cpp into this library - Conditionally embed it into libswiftCore - Conditionally embed it into libswiftPrivateLibcExtras if not in libswiftCore to support testing - Add SWIFT_STDLIB_HAS_COMMANDLINE CMake (and build-script) flag