We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f803cdd commit 49bf2c6Copy full SHA for 49bf2c6
SwiftCompilerSources/CMakeLists.txt
@@ -120,6 +120,11 @@ function(add_swift_compiler_modules_library name)
120
"-Xfrontend" "${SWIFT_MIN_RUNTIME_VERSION}")
121
endif()
122
list(APPEND swift_compile_options "-Xfrontend" "-disable-implicit-string-processing-module-import")
123
+
124
+ # We cannot use Unsafe*Pointer when importing C++ move-only types until the
125
+ # host libraries are updated to Swift 6.0, because that importing strategy
126
+ # requires _Pointer have its Pointee: ~Copyable. (rdar://128013193)
127
+ list(APPEND swift_compile_options "-Xfrontend" "-cxx-interop-use-opaque-pointer-for-moveonly")
128
129
130
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
0 commit comments