From 9e85aa7fd27bae1a84807c2c4b4e7e0294d5615f Mon Sep 17 00:00:00 2001 From: Eric Miotto Date: Thu, 6 Nov 2025 12:50:26 -0800 Subject: [PATCH] Runtimes: rename Core/core to Core/Core (uppercase C) so it appears... higher in case sensitive directory listings (like GitHub). This will ease checking for stdlib code on small screens without needing to scroll. Addresses rdar://164195263 --- Runtimes/Core/CMakeLists.txt | 2 +- Runtimes/Core/{core => Core}/CMakeLists.txt | 0 Runtimes/Resync.cmake | 5 ++++- 3 files changed, 5 insertions(+), 2 deletions(-) rename Runtimes/Core/{core => Core}/CMakeLists.txt (100%) diff --git a/Runtimes/Core/CMakeLists.txt b/Runtimes/Core/CMakeLists.txt index a6428b6b425ab..d5d24536b9828 100644 --- a/Runtimes/Core/CMakeLists.txt +++ b/Runtimes/Core/CMakeLists.txt @@ -206,7 +206,7 @@ add_subdirectory(Demangling) add_subdirectory(Threading) add_subdirectory(runtime) add_subdirectory(stubs) -add_subdirectory(core) +add_subdirectory(Core) if(SwiftCore_ENABLE_COMMANDLINE_SUPPORT) add_subdirectory(CommandLineSupport) endif() diff --git a/Runtimes/Core/core/CMakeLists.txt b/Runtimes/Core/Core/CMakeLists.txt similarity index 100% rename from Runtimes/Core/core/CMakeLists.txt rename to Runtimes/Core/Core/CMakeLists.txt diff --git a/Runtimes/Resync.cmake b/Runtimes/Resync.cmake index f1ea406d7d5a8..98338c712aac5 100644 --- a/Runtimes/Resync.cmake +++ b/Runtimes/Resync.cmake @@ -86,7 +86,6 @@ set(CoreLibs CompatibilityOverride stubs CommandLineSupport - core SwiftOnoneSupport RemoteInspection SwiftRemoteMirror @@ -97,6 +96,10 @@ foreach(library ${CoreLibs}) copy_library_sources(${library} "public" "Core") endforeach() +# copying Core/core separately, so we can specify the case of the target folder +# correctly on case sensitive file systems +copy_library_sources("" "public/core" "Core/Core") + message(STATUS "plist[${StdlibSources}/Info.plist.in] -> Core/Info.plist.in") copy_files("" "Core" FILES "Info.plist.in")