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.
2 parents a62112b + cc27fd0 commit 36288e1Copy full SHA for 36288e1
Runtimes/Core/cmake/modules/CompilerSettings.cmake
@@ -44,3 +44,8 @@ HAVE_SWIFT_ASYNC_CALL)
44
if(NOT HAVE_SWIFT_ASYNC_CALL)
45
message(SEND_ERROR "CXX Compiler must support Swift async calling conventions")
46
endif()
47
+
48
+check_compiler_flag(CXX "-mcx16" HAVE_CXX_MCX16)
49
+if(HAVE_CXX_MCX16)
50
+ add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-mcx16>)
51
+endif()
0 commit comments