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 8048004 commit 5337c8bCopy full SHA for 5337c8b
stdlib/public/runtime/Bincompat.cpp
@@ -247,6 +247,8 @@ bool useLegacySwiftValueUnboxingInCasting() {
247
bool useLegacySwiftObjCHashing() {
248
#if BINARY_COMPATIBILITY_APPLE
249
return true; // For now, legacy behavior on Apple OSes
250
+#elif SWIFT_TARGET_OS_DARWIN
251
+ return true; // For now, legacy behavior on open-source builds for Apple OSes
252
#else
253
return false; // Always use the new behavior on non-Apple OSes
254
#endif
0 commit comments