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 ad0a5bf + d001831 commit a854e8eCopy full SHA for a854e8e
stdlib/public/SwiftShims/RuntimeShims.h
@@ -93,7 +93,10 @@ __swift_size_t _swift_stdlib_getHardwareConcurrency(void);
93
///
94
/// This function is used by
95
/// @c withUnsafeTemporaryAllocation(byteCount:alignment:_:).
96
-SWIFT_RUNTIME_STDLIB_API SWIFT_WEAK_IMPORT
+SWIFT_RUNTIME_STDLIB_API
97
+#if defined(__APPLE__) && defined(__MACH__)
98
+SWIFT_WEAK_IMPORT
99
+#endif
100
__swift_bool swift_stdlib_isStackAllocationSafe(__swift_size_t byteCount,
101
__swift_size_t alignment);
102
0 commit comments