From ce6ac28a1f8ddd2b03e92e9d5aa449f86e563704 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 7 Aug 2025 10:02:34 -0700 Subject: [PATCH] build.ps1: enable the C++ interop on Windows With the last changes to the C++ interop support in the new runtimes build, the default on Windows matches what it is on Apple platforms. Explicitly opt into the C++ overlay build on Windows. --- utils/build.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/build.ps1 b/utils/build.ps1 index fd2db86597ccd..01c910b5fc7c3 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -2577,6 +2577,8 @@ function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $fa CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib"; SwiftCore_DIR = "${RuntimeBinaryCache}\cmake\SwiftCore"; + + SwiftOverlay_ENABLE_CXX_INTEROP = "YES"; } Build-CMakeProject `