Skip to content

Commit a8ae273

Browse files
committed
[SwiftCompilerSources] Require very recent Swift compiler in HOSTTOOLS mode
To use new C++ interop features in SwiftCompilerSources, we need a very recent Swift compiler when building with host tools. This does not affect non-HOSTTOOLS builds.
1 parent ca96f03 commit a8ae273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ else()
209209
message(FATAL_ERROR "The Swift compiler (${CMAKE_Swift_COMPILER}) differs from the Swift compiler in SWIFT_NATIVE_SWIFT_TOOLS_PATH (${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/swiftc).")
210210
endif()
211211

212-
set(min_supported_swift_version 5.5)
212+
set(min_supported_swift_version 5.8)
213213
if(CMAKE_Swift_COMPILER_VERSION VERSION_LESS "${min_supported_swift_version}")
214214
message(FATAL_ERROR
215215
"Outdated Swift compiler: building with host tools requires Swift ${min_supported_swift_version} or newer. "

0 commit comments

Comments
 (0)