@@ -1329,7 +1329,7 @@ if run_vendor == 'apple':
13291329 "-Xlinker -headerpad_max_install_names " +
13301330 "-Xlinker -rpath -Xlinker /usr/lib/swift %s " )%
13311331 (xcrun_prefix , config .swiftc , target_options , config .swift_driver_test_options ))
1332- config .swiftc_driver_stdlib_target = config .target_swiftc_driver
1332+ config .target_stdlib_swiftc_driver = config .target_swiftc_driver
13331333 config .target_clang = (
13341334 "%s %s %s" %
13351335 (xcrun_prefix , config .clangxx , config .target_cc_options ))
@@ -1468,7 +1468,7 @@ elif run_os in ['windows-msvc']:
14681468 config .resource_dir_opt , mcp_opt , \
14691469 config .swift_system_overlay_opt , \
14701470 config .swift_driver_test_options ))
1471- config .swiftc_driver_stdlib_target = \
1471+ config .target_stdlib_swiftc_driver = \
14721472 ('%r -target %s %s %s %s' % (config .swiftc , config .variant_triple , \
14731473 config .resource_dir_opt , mcp_opt , \
14741474 config .swift_driver_test_options ))
@@ -1599,7 +1599,7 @@ elif (run_os in ['linux-gnu', 'linux-gnueabihf', 'freebsd', 'openbsd', 'windows-
15991599 config .target_swiftc_driver = (
16001600 "%s -target %s -toolchain-stdlib-rpath %s %s %s" %
16011601 (config .swiftc , config .variant_triple , config .resource_dir_opt , mcp_opt , config .swift_driver_test_options ))
1602- config .swiftc_driver_stdlib_target = config .target_swiftc_driver
1602+ config .target_stdlib_swiftc_driver = config .target_swiftc_driver
16031603 config .target_swift_modulewrap = (
16041604 '%s -modulewrap -target %s' %
16051605 (config .swiftc , config .variant_triple ))
@@ -1718,7 +1718,7 @@ elif run_os == 'linux-androideabi' or run_os == 'linux-android':
17181718 '-tools-directory' , tools_directory ,
17191719 config .resource_dir_opt , mcp_opt ,
17201720 config .swift_driver_test_options ])
1721- config .swiftc_driver_stdlib_target = config .target_swiftc_driver
1721+ config .target_stdlib_swiftc_driver = config .target_swiftc_driver
17221722 config .target_swift_modulewrap = ' ' .join ([
17231723 config .swiftc , '-modulewrap' ,
17241724 '-target' , config .variant_triple ])
@@ -1786,7 +1786,7 @@ elif run_os == 'wasi':
17861786 config .target_swiftc_driver = (
17871787 "%s -target %s -toolchain-stdlib-rpath %s %s" %
17881788 (config .swiftc , config .variant_triple , config .resource_dir_opt , mcp_opt ))
1789- config .swiftc_driver_stdlib_target = config .target_swiftc_driver
1789+ config .target_stdlib_swiftc_driver = config .target_swiftc_driver
17901790 config .target_swift_modulewrap = (
17911791 '%s -modulewrap -target %s' %
17921792 (config .swiftc , config .variant_triple ))
@@ -2504,7 +2504,7 @@ config.substitutions.append(('%target-swift-reflection-test', config.target_swif
25042504
25052505config .substitutions .append (('%target-swift-reflection-dump' , '{} {} {}' .format (config .swift_reflection_dump , '-arch' , run_cpu )))
25062506config .substitutions .append (('%target-swiftc_driver' , config .target_swiftc_driver ))
2507- config .substitutions .append (('%swiftc_driver -stdlib-target ' , config .swiftc_driver_stdlib_target ))
2507+ config .substitutions .append (('%target -stdlib-swiftc_driver ' , config .target_stdlib_swiftc_driver ))
25082508
25092509config .substitutions .append (('%target-swift-remoteast-test-with-sdk' ,
25102510 '%s %s -sdk %r' %
0 commit comments