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 face056 commit 819780eCopy full SHA for 819780e
SwiftCompilerSources/CMakeLists.txt
@@ -121,6 +121,11 @@ function(add_swift_compiler_modules_library name)
121
"-Xfrontend" "${SWIFT_MIN_RUNTIME_VERSION}")
122
endif()
123
list(APPEND swift_compile_options "-Xfrontend" "-disable-implicit-string-processing-module-import")
124
+
125
+ # We cannot use Unsafe*Pointer when importing C++ move-only types until the
126
+ # host libraries are updated to Swift 6.0, because that importing strategy
127
+ # requires _Pointer have its Pointee: ~Copyable. (rdar://128013193)
128
+ list(APPEND swift_compile_options "-Xfrontend" "-cxx-interop-use-opaque-pointer-for-moveonly")
129
130
131
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
0 commit comments