File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
stdlib/public/Concurrency/linker-support
test/Concurrency/Backdeploy Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 124124 RPATH_INSTALL_NAME_DIRECTIVE (11 , 4 )
125125 RPATH_INSTALL_NAME_DIRECTIVE (11 , 5 )
126126 RPATH_INSTALL_NAME_DIRECTIVE (11 , 6 )
127+
128+ // Link against @rpath/libswift_Concurrency.dylib for macCatalyst < 15.0.
129+ SWIFT_RUNTIME_EXPORT const char ld_previous_macCatalyst
130+ __asm("$ld$previous$@rpath/libswift_Concurrency.dylib$$6$1.0$15.0$" );
131+
132+ const char ld_previous_macCatalyst = 0 ;
127133#else
128134 #error Unknown target.
129135#endif
Original file line number Diff line number Diff line change 77// RUN: otool -L %t/linking_rpath | %FileCheck -check-prefix CHECK-RPATH %s
88// RUN: otool -L %t/linking_rpath_old | %FileCheck -check-prefix CHECK-RPATH %s
99
10+ // RUN: %target-build-swift -disable-autolinking-runtime-compatibility-concurrency -target x86_64-apple-ios15.0-macabi %s -o %t/linking_direct
11+ // RUN: %target-build-swift -disable-autolinking-runtime-compatibility-concurrency -target x86_64-apple-ios14.0-macabi %s -o %t/linking_rpath
12+
13+ // RUN: otool -L %t/linking_direct | %FileCheck -check-prefix CHECK-DIRECT %s
14+ // RUN: otool -L %t/linking_rpath | %FileCheck -check-prefix CHECK-RPATH %s
15+
1016// REQUIRES: OS=macosx
1117// REQUIRES: CPU=x86_64
1218
You can’t perform that action at this time.
0 commit comments