We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2c0bc7 + fbcd71d commit 5c702f7Copy full SHA for 5c702f7
build_script.py
@@ -180,10 +180,12 @@ def build(args):
180
else:
181
libdispatch_args = ""
182
183
+ # NOTE: Force -swift-version 3 to build XCTest sources.
184
run("{swiftc} -Xcc -fblocks -c {style_options} -emit-object -emit-module "
185
"-module-name XCTest -module-link-name XCTest -parse-as-library "
186
"-emit-module-path {build_dir}/XCTest.swiftmodule "
187
"-force-single-frontend-invocation "
188
+ "-swift-version 3 "
189
"-I {foundation_build_dir} -I {core_foundation_build_dir} "
190
"{libdispatch_args} "
191
"{source_paths} -o {build_dir}/XCTest.o".format(
0 commit comments