File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2020#include " swift/Runtime/EnvironmentVariables.h"
2121#include " swift/Threading/Once.h"
2222#include " swift/shims/RuntimeShims.h"
23+ #include " swift/shims/Target.h"
2324#include < stdint.h>
2425
2526// If this is an Apple OS, use the Apple binary compatibility rules
@@ -248,7 +249,7 @@ bool useLegacySwiftObjCHashing() {
248249#if BINARY_COMPATIBILITY_APPLE
249250 return true ; // For now, legacy behavior on Apple OSes
250251#elif SWIFT_TARGET_OS_DARWIN
251- return true ; // For now, legacy behavior on open-source builds for Apple OSes
252+ return true ; // For now, use legacy behavior on open-source builds for Apple platforms
252253#else
253254 return false ; // Always use the new behavior on non-Apple OSes
254255#endif
You can’t perform that action at this time.
0 commit comments