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.
1 parent c2c0bc7 commit 78980f4Copy full SHA for 78980f4
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