Skip to content

Commit 157133d

Browse files
committed
Pass -swift-version X for %target-swift-frontend
1 parent ae591c0 commit 157133d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lit.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,8 @@ if run_vendor == 'apple':
709709
"%s ld -L%s" %
710710
(xcrun_prefix, os.path.join(test_resource_dir, config.target_sdk_name)))
711711
config.target_swift_frontend = (
712-
"%s -frontend %s -sdk %s %s" %
713-
(config.swiftc, target_options, config.variant_sdk,
712+
"%s -frontend -swift-version %s %s -sdk %s %s" %
713+
(config.swiftc, swift_version, target_options, config.variant_sdk,
714714
config.swift_test_options))
715715
subst_target_swift_frontend_mock_sdk = (
716716
"%s -frontend %s -sdk %s %s" %

0 commit comments

Comments
 (0)