Skip to content

Commit 4376692

Browse files
authored
Merge pull request #76389 from etcwilde/ewilde/earlyswiftdriver-swiftc-requirement
Relax Swift tool check to find swiftc
2 parents 4bdf601 + 5271bc2 commit 4376692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/products/earlyswiftdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def should_build(self, host_target):
4545
return False
4646

4747
if self.args.build_early_swift_driver:
48-
if toolchain.host_toolchain().find_tool("swift") is None:
48+
if toolchain.host_toolchain().find_tool("swiftc") is None:
4949
warn_msg = 'Host toolchain could not locate a '\
5050
'compiler to build swift-driver. '\
5151
'(Try `--skip-early-swift-driver`)'

0 commit comments

Comments
 (0)