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.
__has_extension
swiftasynccc
1 parent f95fd21 commit 1e11d0fCopy full SHA for 1e11d0f
include/swift/Runtime/Config.h
@@ -228,7 +228,7 @@ extern uintptr_t __COMPATIBILITY_LIBRARIES_CANNOT_CHECK_THE_IS_SWIFT_BIT_DIRECTL
228
229
// SWIFT_CC(swiftasync) is the Swift async calling convention.
230
// We assume that it supports mandatory tail call elimination.
231
-#if __has_feature(swiftasynccc) && __has_attribute(swiftasynccall)
+#if __has_attribute(swiftasynccall) && (__has_feature(swiftasynccc) || __has_extension(swiftasynccc))
232
#define SWIFT_CC_swiftasync __attribute__((swiftasynccall))
233
#else
234
#define SWIFT_CC_swiftasync SWIFT_CC_swift
0 commit comments